瀏覽代碼

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2723 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 12 年之前
父節點
當前提交
d47574592f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      pages/logoff.php

+ 1 - 0
pages/logoff.php

@@ -52,6 +52,7 @@ switch($sLoginMode)
 	break;
 }
 $oPage = new LoginWebPage();
+$oPage->no_cache();
 $sVersionShort = Dict::Format('UI:iTopVersion:Short', ITOP_VERSION);
 $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");