mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 07:42:17 +02:00
WIP
This commit is contained in:
@@ -96,7 +96,7 @@ class Branding
|
||||
$sWorkingPath = APPROOT.'env-'.utils::GetCurrentEnvironment().'/';
|
||||
$aThemeParameters = json_decode(@file_get_contents($sWorkingPath.'branding/logos.json'), true);
|
||||
//environment type from config.php
|
||||
$sEnvType = MetaModel::GetConfig()->Get('branding_environment');
|
||||
$sEnvType = MetaModel::GetConfig()->Get('local_branding');
|
||||
if (utils::IsNullOrEmptyString($sEnvType)) {
|
||||
$sEnvType = 'default';
|
||||
}
|
||||
|
||||
@@ -60,17 +60,6 @@ class UnauthenticatedWebPage extends NiceWebPage
|
||||
/** @since 3.2.0 */
|
||||
protected string $sPortalPublicFolderAbsUrl;
|
||||
|
||||
/**
|
||||
* Return the absolute URL for the favicon
|
||||
*
|
||||
* @return string
|
||||
* @throws \Exception
|
||||
*/
|
||||
protected function GetFaviconAbsoluteUrl()
|
||||
{
|
||||
return Branding::GetLoginFavIconAbsoluteUrl();
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @throws \Exception
|
||||
|
||||
Reference in New Issue
Block a user