#971 XML: could not specify an icon as a path to a file

SVN:trunk[3375]
This commit is contained in:
Romain Quetiez
2014-10-23 08:54:39 +00:00
parent fac8604cc6
commit b65131e4f5

View File

@@ -1894,8 +1894,11 @@ EOF;
$this->CompileLogo($oBrandingNode, $sTempTargetDir, $sFinalTargetDir, 'login_logo', 'login-logo');
$this->CompileLogo($oBrandingNode, $sTempTargetDir, $sFinalTargetDir, 'portal_logo', 'portal-logo');
// Cleanup the images directory (made by CompileFiles)
SetupUtils::rrmdir($sTempTargetDir.'/branding/images');
// Cleanup the images directory (eventually made by CompileFiles)
if (file_exists($sTempTargetDir.'/branding/images'))
{
SetupUtils::rrmdir($sTempTargetDir.'/branding/images');
}
}
}
}