From aba60dba287cefdc6fbdcc14437af1d4ab6a12bc Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 25 Feb 2013 18:47:34 +0100 Subject: [PATCH] added simple error message for the browser --- lib/base.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/base.php b/lib/base.php index 3ca2daccd2..156edebc13 100644 --- a/lib/base.php +++ b/lib/base.php @@ -324,6 +324,8 @@ class OC { if (session_start() === false){ OC_Log::write('core', 'Session could not be initialized', OC_Log::ERROR); + echo 'Session could not be initialized. Please contact your system'; + echo ' administrator'; header('HTTP/1.1 500 Internal Server Error'); exit(1); }