From 1cded85790206afe084e1baff371c543711b2b18 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 03 Dec 2005 11:54:12 -0500
Subject: [PATCH] Re-design of caching (new database table added\!); some bugfixes; Postgres support

---
 index.php |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/index.php b/index.php
index 16a3540..31d4e75 100644
--- a/index.php
+++ b/index.php
@@ -62,7 +62,7 @@
 
 // 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 @@
   }
 
 
+// handle keep-alive signal
+if ($_action=='keep-alive')
+  {
+  rcube_remote_response('');
+  exit;
+  }
+
 
 // include task specific files
 if ($_task=='mail')
@@ -286,14 +293,6 @@
   if ($_action=='folders' || $_action=='subscribe' || $_action=='unsubscribe' || $_action=='create-folder' || $_action=='delete-folder')
     include('program/steps/settings/manage_folders.inc');
 
-  }
-
-
-// handle keep-alive signal
-if ($_action=='keep-alive')
-  {
-  rcube_remote_response('');
-  exit;
   }
 
 

--
Gitblit v1.9.1