From dee0aff85a7f2e5b16cf77835ac56a5ef2e4f1b7 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Sat, 29 Jun 2013 04:49:11 -0400
Subject: [PATCH] Avoid fatal errors if session support is missing; This shall be displayed in the first step

---
 installer/index.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/installer/index.php b/installer/index.php
index dc4c0a4..d084c8a 100644
--- a/installer/index.php
+++ b/installer/index.php
@@ -54,7 +54,8 @@
 // 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();

--
Gitblit v1.9.1