Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

warning clearance

  • Loading branch information...
commit 00fd332aa5a59076901be763f17c6c8ded620101 1 parent 61bda79
authored October 14, 2005

Showing 1 changed file with 3 additions and 5 deletions. Show diff stats Hide diff stats

  1. 8  index.php
8  index.php
@@ -55,7 +55,8 @@
55 55
 
56 56
 
57 57
 // increase maximum execution time for php scripts
58  
-set_time_limit('120');
  58
+// (does not work in safe mode)
  59
+@set_time_limit('120');
59 60
 
60 61
 
61 62
 // include base files
@@ -76,11 +77,9 @@
76 77
 if (!empty($_GET['_remote']))
77 78
   $REMOTE_REQUEST = TRUE;
78 79
 
79  
-
80 80
 // start session with requested task
81 81
 rcmail_startup($_task);
82 82
 
83  
-
84 83
 // set session related variables
85 84
 $COMM_PATH = sprintf('./?_auth=%s&_task=%s', $sess_auth, $_task);
86 85
 $SESS_HIDDEN_FIELD = sprintf('<input type="hidden" name="_auth" value="%s" />', $sess_auth);
@@ -97,7 +96,6 @@
97 96
 // init necessary objects for GUI
98 97
 load_gui();
99 98
 
100  
-
101 99
 // error steps
102 100
 if ($_action=='error' && !empty($_GET['_code']))
103 101
   {
@@ -129,7 +127,7 @@
129 127
   }
130 128
 
131 129
 // end session
132  
-else if ($_action=='logout' && $_SESSION['user_id'])
  130
+else if ($_action=='logout' && isset($_SESSION['user_id']))
133 131
   {
134 132
   show_message('loggedout');
135 133
   rcmail_kill_session();

0 notes on commit 00fd332

Please sign in to comment.
Something went wrong with that request. Please try again.