From dee0aff85a7f2e5b16cf77835ac56a5ef2e4f1b7 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Sat, 29 Jun 2013 10:49:11 +0200 Subject: Avoid fatal errors if session support is missing; This shall be displayed in the first step --- installer/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'installer') 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(); -- cgit v1.2.3