diff --git a/setup/favicon.ico b/setup/favicon.ico new file mode 100644 index 000000000..104162ad9 Binary files /dev/null and b/setup/favicon.ico differ diff --git a/setup/setuppage.class.inc.php b/setup/setuppage.class.inc.php index 55f62b11c..480b4eb02 100644 --- a/setup/setuppage.class.inc.php +++ b/setup/setuppage.class.inc.php @@ -227,4 +227,12 @@ class SetupPage extends NiceWebPage { // Do nothing } + + /** + * @inheritDoc + */ + protected function GetFaviconAbsoluteUrl() + { + return utils::GetAbsoluteUrlAppRoot().'setup/favicon.ico'; + } } diff --git a/sources/application/WebPage/WebPage.php b/sources/application/WebPage/WebPage.php index e2c6f10ce..08fa88924 100644 --- a/sources/application/WebPage/WebPage.php +++ b/sources/application/WebPage/WebPage.php @@ -1203,9 +1203,7 @@ JS; } // Favicon - if (class_exists('MetaModel') && MetaModel::GetConfig()) { - $aData['aPage']['sFaviconUrl'] = $this->GetFaviconAbsoluteUrl(); - } + $aData['aPage']['sFaviconUrl'] = $this->GetFaviconAbsoluteUrl(); $oTwigEnv = TwigHelper::GetTwigEnvironment(BlockRenderer::TWIG_BASE_PATH, BlockRenderer::TWIG_ADDITIONAL_PATHS); // Render final TWIG into global HTML