summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/page_header.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-11 13:54:33 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-11 13:54:33 +0000
commitac2149cc84f98db84b0aada5f0cc90b5f0a4d049 (patch)
tree5223b4899b4f3dd2c4b78fa8b5153b03e381039a /frontends/php/include/page_header.php
parent3e0875c1bde2417cbe4914a5335f24ab0abfe184 (diff)
downloadzabbix-ac2149cc84f98db84b0aada5f0cc90b5f0a4d049.tar.gz
zabbix-ac2149cc84f98db84b0aada5f0cc90b5f0a4d049.tar.xz
zabbix-ac2149cc84f98db84b0aada5f0cc90b5f0a4d049.zip
- fixed conflict with cookies of other products (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3693 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/page_header.php')
-rw-r--r--frontends/php/include/page_header.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/frontends/php/include/page_header.php b/frontends/php/include/page_header.php
index 63b31928..5a7a3b75 100644
--- a/frontends/php/include/page_header.php
+++ b/frontends/php/include/page_header.php
@@ -315,18 +315,7 @@ COpt::profiling_start("page");
$denyed_page_requested = true;
}
- if(isset($denyed_page_requested)) $unset_cookie = time() - 3600;
-
- global $ZBX_PAGE_COOCIES;
-
- if(isset($ZBX_PAGE_COOCIES))
- {
- foreach($ZBX_PAGE_COOCIES as $coockie)
- {
- setcookie($coockie[0], $coockie[1], isset($unset_cookie) ? $unset_cookie : $coockie[2]);
- }
- unset($ZBX_PAGE_COOCIES);
- }
+ zbx_flush_post_cookies(isset($denyed_page_requested));
if($page["type"] == PAGE_TYPE_HTML)
{