]> source.dussan.org Git - nextcloud-server.git/commitdiff
added simple error message for the browser
authorBernhard Posselt <nukeawhale@gmail.com>
Mon, 25 Feb 2013 17:47:34 +0000 (18:47 +0100)
committerBernhard Posselt <nukeawhale@gmail.com>
Mon, 25 Feb 2013 17:47:34 +0000 (18:47 +0100)
lib/base.php

index 3ca2daccd29a9a2667aac3727d7befcc57494427..156edebc13641b29813cfc3f4abd3af73f6f1b3a 100644 (file)
@@ -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);
                }