summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-25 18:47:34 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-25 18:47:34 +0100
commitaba60dba287cefdc6fbdcc14437af1d4ab6a12bc (patch)
tree75923b08a4c2d2ae71bd88fc6adbc146ff755a6b /lib/base.php
parentbc2fefed59f2d3f662e34332065a3ba02cccdd6f (diff)
downloadnextcloud-server-aba60dba287cefdc6fbdcc14437af1d4ab6a12bc.tar.gz
nextcloud-server-aba60dba287cefdc6fbdcc14437af1d4ab6a12bc.zip
added simple error message for the browser
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index 3ca2daccd29..156edebc136 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);
}