summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/config.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-06-22 12:55:36 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-06-22 12:55:36 +0000
commit921f1cd2cf912ff8db0ac7bee32ab519749412ec (patch)
treef8a4344cd2a161e768508a786ca0e8baf94d0ab7 /frontends/php/include/config.inc.php
parentdeb2121eb6ef46c74de6e677a1048248254cce01 (diff)
downloadzabbix-921f1cd2cf912ff8db0ac7bee32ab519749412ec.tar.gz
zabbix-921f1cd2cf912ff8db0ac7bee32ab519749412ec.tar.xz
zabbix-921f1cd2cf912ff8db0ac7bee32ab519749412ec.zip
- minor changes (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@4349 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
-rw-r--r--frontends/php/include/config.inc.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index 5a02cc93..2ed13bff 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -1915,7 +1915,6 @@ else if (document.getElementById)
function get_cookie($name, $default_value=null)
{
global $_COOKIE;
-
if(isset($_COOKIE[$name])) return $_COOKIE[$name];
// else
return $default_value;
@@ -1947,10 +1946,7 @@ else if (document.getElementById)
*/
function zbx_unsetcookie($name)
{
- global $_COOKIE;
-
- setcookie($name, null, -1);
- $_COOKIE[$name] = null;
+ zbx_setcookie($name, null, -99999);
}
/* function: