Prevent logoff problems depending on PHP's session.cache_limiter setting...

SVN:trunk[2723]
This commit is contained in:
Denis Flaven
2013-05-13 15:45:10 +00:00
parent 2d03e95ece
commit ed344650c5

View File

@@ -52,6 +52,7 @@ switch($sLoginMode)
break; break;
} }
$oPage = new LoginWebPage(); $oPage = new LoginWebPage();
$oPage->no_cache();
$sVersionShort = Dict::Format('UI:iTopVersion:Short', ITOP_VERSION); $sVersionShort = Dict::Format('UI:iTopVersion:Short', ITOP_VERSION);
$sIconUrl = Utils::GetConfig()->Get('app_icon_url'); $sIconUrl = Utils::GetConfig()->Get('app_icon_url');
$oPage->add("<div id=\"login-logo\"><a href=\"".htmlentities($sIconUrl, ENT_QUOTES, 'UTF-8')."\"><img title=\"$sVersionShort\" src=\"../images/itop-logo-external.png\"></a></div>\n"); $oPage->add("<div id=\"login-logo\"><a href=\"".htmlentities($sIconUrl, ENT_QUOTES, 'UTF-8')."\"><img title=\"$sVersionShort\" src=\"../images/itop-logo-external.png\"></a></div>\n");