From 1cded85790206afe084e1baff371c543711b2b18 Mon Sep 17 00:00:00 2001 From: thomascube Date: Sat, 3 Dec 2005 16:54:12 +0000 Subject: Re-design of caching (new database table added\!); some bugfixes; Postgres support --- index.php | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'index.php') 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'); -- cgit v1.2.3