diff --git a/core/core.php b/core/core.php index deba286d..1000de24 100644 --- a/core/core.php +++ b/core/core.php @@ -1899,8 +1899,13 @@ class layout extends common { * Affiche le favicon */ public function showFavicon() { - if($favicon = $this->getData(['config', 'favicon'])) { + $favicon = $this->getData(['config', 'favicon']); + if($favicon && + file_exists('site/file/source/' . $favicon) + ) { echo ''; + } else { + echo ''; } } diff --git a/core/vendor/zwiico/ico/favicon.ico b/core/vendor/zwiico/ico/favicon.ico new file mode 100644 index 00000000..218421a9 Binary files /dev/null and b/core/vendor/zwiico/ico/favicon.ico differ