mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 22:18:46 +02:00
N°2259 - iTop Compilation of branding images ignore real format of source image
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
|
||||
use Combodo\iTop\Application\Branding;
|
||||
use Combodo\iTop\Application\TwigBase\Twig\TwigHelper;
|
||||
use Combodo\iTop\Renderer\BlockRenderer;
|
||||
use Combodo\iTop\Renderer\Console\ConsoleBlockRenderer;
|
||||
@@ -72,12 +73,7 @@ class UnauthenticatedWebPage extends NiceWebPage
|
||||
|
||||
$this->sContent = '';
|
||||
$this->sPanelTitle = '';
|
||||
$this->sPanelIcon = utils::GetAbsoluteUrlAppRoot().'images/itop-logo.png';
|
||||
if (file_exists(MODULESROOT.'branding/main-logo.png'))
|
||||
{
|
||||
$this->sPanelIcon = utils::GetAbsoluteUrlModulesRoot().'branding/main-logo.png';
|
||||
}
|
||||
|
||||
$this->sPanelIcon = Branding::GetFullMainLogoAbsoluteUrl();
|
||||
$this->SetContentType('text/html');
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user