mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-18 16:18:47 +02:00
ormStyle: Fix icon URL including the app. root in the MetaModel to ease usage with load balancers
This commit is contained in:
@@ -1222,7 +1222,7 @@ EOF
|
||||
$sStyleCSSAltClass = "ibo-class-style-alt--$sClass";
|
||||
if (($sIcon = $oStyle->GetChildText('icon')) && (strlen($sIcon) > 0)) {
|
||||
$sIcon = $sModuleRelativeDir.'/'.$sIcon;
|
||||
$sIcon = ", utils::GetAbsoluteUrlModulesRoot().'$sIcon'";
|
||||
$sIcon = ", '$sIcon'";
|
||||
}
|
||||
$aClassParams['style'] = "new ormStyle('$sStyleCSSClass', '$sStyleCSSAltClass', '$sMainColor', '$sComplementaryColor', null $sIcon)";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user