write an error log when session could not be initialized
This commit is contained in:
parent
55c72617c6
commit
bc2fefed59
|
@ -322,6 +322,8 @@ class OC {
|
||||||
|
|
||||||
// if session cant be started break with http 500 error
|
// if session cant be started break with http 500 error
|
||||||
if (session_start() === false){
|
if (session_start() === false){
|
||||||
|
OC_Log::write('core', 'Session could not be initialized',
|
||||||
|
OC_Log::ERROR);
|
||||||
header('HTTP/1.1 500 Internal Server Error');
|
header('HTTP/1.1 500 Internal Server Error');
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue