diff --git a/core/core.php b/core/core.php index 1291a9a5..87b1d4fd 100644 --- a/core/core.php +++ b/core/core.php @@ -33,7 +33,7 @@ class common { const TEMP_DIR = 'site/tmp/'; // Numéro de version - const ZWII_VERSION = '10.0.039.dev'; + const ZWII_VERSION = '10.0.040.dev'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; @@ -1857,15 +1857,13 @@ class layout extends common { echo ''; } // Dark scheme - $faviconDark = $this->getData(['config', 'faviconDark']); - if($faviconDark && + $faviconDark = $this->getData(['config', 'faviconDark']); + if(!empty($faviconDark) && file_exists(self::FILE_DIR.'source/' . $faviconDark) ) { echo ''; echo ''; - } else { - echo ''; - } + } } diff --git a/core/module/install/ressource/file/source/faviconDark.ico b/core/module/install/ressource/file/source/faviconDark.ico deleted file mode 100644 index 2063f4bf..00000000 Binary files a/core/module/install/ressource/file/source/faviconDark.ico and /dev/null differ