From 0d836021a547faf7bda9bd3f65962bf1d13a4d1e Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 1 Mar 2020 18:11:04 +0100 Subject: [PATCH] [10.0.040.dev] favicone --- core/core.php | 10 ++++------ .../ressource/file/source/faviconDark.ico | Bin 1150 -> 0 bytes 2 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 core/module/install/ressource/file/source/faviconDark.ico 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 2063f4bf0645d587b0f8d9310f00a0ee09a53310..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmb7^F-pWx6h#vhL_|oVtz#hyVqq;VK&BK|V4)xuEKWpmm2-JNr0)TI9&!)9C%I?j%m0J_ G?tcNUhJ;N3