summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-06-29 10:49:11 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-06-29 10:49:11 +0200
commitdee0aff85a7f2e5b16cf77835ac56a5ef2e4f1b7 (patch)
tree093f8152de817d837a35bcc0eb561f3c2a93a303
parent447fc6a657c6dc588510750617068bdd47209569 (diff)
Avoid fatal errors if session support is missing; This shall be displayed in the first step
-rw-r--r--installer/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/index.php b/installer/index.php
index dc4c0a43f..d084c8aa5 100644
--- a/installer/index.php
+++ b/installer/index.php
@@ -54,7 +54,8 @@ require_once 'rcube_install.php';
// deprecated aliases (to be removed)
require_once 'bc.php';
-session_start();
+if (function_exists('session_start'))
+ session_start();
$RCI = rcube_install::get_instance();
$RCI->load_config();