summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-12-03 16:54:12 +0000
committerthomascube <thomas@roundcube.net>2005-12-03 16:54:12 +0000
commit1cded85790206afe084e1baff371c543711b2b18 (patch)
treeb050fb89707e048df5f30f500faad792962a1e81 /index.php
parent5bc8cb662fc3bcda9aa641b7a5e88c0b81dd63d6 (diff)
Re-design of caching (new database table added\!); some bugfixes; Postgres support
Diffstat (limited to 'index.php')
-rw-r--r--index.php17
1 files changed, 8 insertions, 9 deletions
diff --git a/index.php b/index.php
index 16a3540d7..31d4e7574 100644
--- a/index.php
+++ b/index.php
@@ -62,7 +62,7 @@ ini_set('error_reporting', E_ALL&~E_NOTICE);
// increase maximum execution time for php scripts
// (does not work in safe mode)
-@set_time_limit('120');
+@set_time_limit(120);
// include base files
require_once('include/rcube_shared.inc');
@@ -199,6 +199,13 @@ if (!$_SESSION['user_id'])
}
+// handle keep-alive signal
+if ($_action=='keep-alive')
+ {
+ rcube_remote_response('');
+ exit;
+ }
+
// include task specific files
if ($_task=='mail')
@@ -289,14 +296,6 @@ if ($_task=='settings')
}
-// handle keep-alive signal
-if ($_action=='keep-alive')
- {
- rcube_remote_response('');
- exit;
- }
-
-
// only allow these templates to be included
$valid_tasks = array('mail','settings','addressbook');