diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-25 18:47:34 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-25 18:47:34 +0100 |
commit | aba60dba287cefdc6fbdcc14437af1d4ab6a12bc (patch) | |
tree | 75923b08a4c2d2ae71bd88fc6adbc146ff755a6b /lib/base.php | |
parent | bc2fefed59f2d3f662e34332065a3ba02cccdd6f (diff) | |
download | nextcloud-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.php | 2 |
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); } |