diff options
author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-05-22 12:21:34 +0000 |
---|---|---|
committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-05-22 12:21:34 +0000 |
commit | 0bbd8c3b373ab8437d977930536c53da643acb45 (patch) | |
tree | eb8502b13a7529be50b229c3fb562d66c667685d /frontends/php/index.php | |
parent | 1bbf47cea6defff97a8ecd794c4c70b8b922cf7d (diff) | |
download | zabbix-0bbd8c3b373ab8437d977930536c53da643acb45.tar.gz zabbix-0bbd8c3b373ab8437d977930536c53da643acb45.tar.xz zabbix-0bbd8c3b373ab8437d977930536c53da643acb45.zip |
- minor chande of authorisation (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2875 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/index.php')
-rw-r--r-- | frontends/php/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/index.php b/frontends/php/index.php index 8916ff07..46d09532 100644 --- a/frontends/php/index.php +++ b/frontends/php/index.php @@ -41,8 +41,8 @@ <?php if(isset($_REQUEST["reconnect"]) && isset($_COOKIE["sessionid"])) { - DBexecute("delete from sessions where sessionid=".zbx_dbstr($sessionid)); - setcookie("sessionid",$sessionid,time()-3600); + DBexecute("delete from sessions where sessionid=".zbx_dbstr($_COOKIE["sessionid"])); + setcookie("sessionid",$_COOKIE["sessionid"],time()-3600); unset($_COOKIE["sessionid"]); } |