diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-08-31 07:01:39 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-08-31 07:01:39 +0000 |
| commit | 0e0932b86e863e5bfa49dfd9819e38abfda418ae (patch) | |
| tree | d9c6d1fb1a3a89baef6901a98309cef27c380346 | |
| parent | 4cb833e1478441562d04010a99155943e3148a04 (diff) | |
| download | zabbix-0e0932b86e863e5bfa49dfd9819e38abfda418ae.tar.gz zabbix-0e0932b86e863e5bfa49dfd9819e38abfda418ae.tar.xz zabbix-0e0932b86e863e5bfa49dfd9819e38abfda418ae.zip | |
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@475 97f52cf1-0a1b-0410-bd0e-c28be96e8082
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | frontends/php/index.php | 4 | ||||
| -rw-r--r-- | frontends/php/srv_status.php | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -28,6 +28,7 @@ Not ready yet: OTHER: + - look for cool icons - different sound files for different severity - add table sessions to patches for beta4? - check for function parameters in evaluate_simple_expression @@ -46,7 +47,6 @@ Not ready yet: - update trigger status to unknown if cannot evaluate function - do not dump "Expression cannot be evaluated" in case if function.lastvalue is NULL - - get rid of register_globals in php.ini (use $HTTP_GET_VARS, ...) - rename "Alerts" to "Notification" (Alexei) TO TEST: @@ -58,6 +58,8 @@ Not ready yet: Changes for 1.0beta6: + - no dependency on register_globals in php.ini (Alexei) + - zabbix_suckerd to write "Connection reset by peer" to LogFile (Alexei) - \n change to \r\n in send_email() (Alexei) diff --git a/frontends/php/index.php b/frontends/php/index.php index 4fefeeed..a8c41b96 100644 --- a/frontends/php/index.php +++ b/frontends/php/index.php @@ -48,6 +48,8 @@ if(isset($reconnect)) { + $sql="delete from sessions where sessionid='$sessionid'"; + DBexecute($sql); setcookie("sessionid",$sessionid,time()-3600); unset($sessionid); } @@ -65,6 +67,8 @@ $USER_DETAILS["surname"]=DBget_field($result,0,3); $sessionid=md5(time().$password.$name.rand(0,10000000)); setcookie("sessionid",$sessionid,time()+3600); +// Required ! + $HTTP_COOKIE_VARS["sessionid"]=$sessionid; $sql="insert into sessions (sessionid,userid,lastaccess) values ('$sessionid',".$USER_DETAILS["userid"].",".time().")"; DBexecute($sql); } diff --git a/frontends/php/srv_status.php b/frontends/php/srv_status.php index aa183499..000d3a78 100644 --- a/frontends/php/srv_status.php +++ b/frontends/php/srv_status.php @@ -16,7 +16,7 @@ echo "<tr>"; echo "<td><b>Service</b></td>"; echo "<td width=10%><b>Status</b></td>"; - echo "<td width=20%><b>Reason</b></td>"; + echo "<td width=30%><b>Reason</b></td>"; echo "</tr>"; echo "\n"; $col=0; |
