added simple error message for the browser

This commit is contained in:
Bernhard Posselt 2013-02-25 18:47:34 +01:00
parent bc2fefed59
commit aba60dba28
1 changed files with 2 additions and 0 deletions

View File

@ -324,6 +324,8 @@ class OC {
if (session_start() === false){ if (session_start() === false){
OC_Log::write('core', 'Session could not be initialized', OC_Log::write('core', 'Session could not be initialized',
OC_Log::ERROR); OC_Log::ERROR);
echo 'Session could not be initialized. Please contact your system';
echo ' administrator';
header('HTTP/1.1 500 Internal Server Error'); header('HTTP/1.1 500 Internal Server Error');
exit(1); exit(1);
} }