mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 09:38:48 +02:00
Add favicon to setup pages
This commit is contained in:
BIN
setup/favicon.ico
Normal file
BIN
setup/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 88 KiB |
@@ -227,4 +227,12 @@ class SetupPage extends NiceWebPage
|
||||
{
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function GetFaviconAbsoluteUrl()
|
||||
{
|
||||
return utils::GetAbsoluteUrlAppRoot().'setup/favicon.ico';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user