diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-04-20 07:20:36 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-04-20 07:20:36 +0000 |
| commit | a6ec7d25390e40ce9a2ad2b07e1d406ebca1441a (patch) | |
| tree | d4fdb5746e4cda35a6272a0a30f576f9b21a75e5 /frontends/php/include/perm.inc.php | |
| parent | b844ed9da4fe568448a107fc5c00774895e2b313 (diff) | |
| download | zabbix-a6ec7d25390e40ce9a2ad2b07e1d406ebca1441a.tar.gz zabbix-a6ec7d25390e40ce9a2ad2b07e1d406ebca1441a.tar.xz zabbix-a6ec7d25390e40ce9a2ad2b07e1d406ebca1441a.zip | |
- fix a bug (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2747 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/perm.inc.php')
| -rw-r--r-- | frontends/php/include/perm.inc.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frontends/php/include/perm.inc.php b/frontends/php/include/perm.inc.php index c9cbfec0..92831ad1 100644 --- a/frontends/php/include/perm.inc.php +++ b/frontends/php/include/perm.inc.php @@ -33,6 +33,9 @@ define("GROUP_RIGHT", 0); global $_COOKIE; global $_REQUEST; + $USER_DETAILS = array("alias"=>"- uncnown -","userid"=>0); + $USER_RIGHTS = array(); + if(isset($_COOKIE["sessionid"])) $sessionid = $_COOKIE["sessionid"]; else unset($sessionid); @@ -84,8 +87,9 @@ define("GROUP_RIGHT", 0); if($page["file"]!="index.php") { echo "<meta http-equiv=\"refresh\" content=\"0; url=index.php\">"; + exit; } - show_header("Login",0,1,1); + show_header("Login",0,0,1); show_error_message("Login name or password is incorrect"); insert_login_form(); show_page_footer(); |
