summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/index.php b/index.php
index dcb65662c..16a3540d7 100644
--- a/index.php
+++ b/index.php
@@ -289,6 +289,14 @@ 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');