From bc2fefed59f2d3f662e34332065a3ba02cccdd6f Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 25 Feb 2013 18:42:09 +0100 Subject: [PATCH] write an error log when session could not be initialized --- lib/base.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/base.php b/lib/base.php index 16aa7bff30..3ca2daccd2 100644 --- a/lib/base.php +++ b/lib/base.php @@ -322,6 +322,8 @@ class OC { // if session cant be started break with http 500 error if (session_start() === false){ + OC_Log::write('core', 'Session could not be initialized', + OC_Log::ERROR); header('HTTP/1.1 500 Internal Server Error'); exit(1); }