Throw exception because the logger causes session issues anyway that early in the request cycle
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
2e0e68b57f
commit
f920153f16
|
@ -626,7 +626,7 @@ class OC {
|
|||
@ini_set('log_errors', 1);
|
||||
|
||||
if(!date_default_timezone_set('UTC')) {
|
||||
\OC::$server->getLogger()->error('Could not set timezone to UTC');
|
||||
throw new \RuntimeException('Could not set timezone to UTC');
|
||||
};
|
||||
|
||||
//try to configure php to enable big file uploads.
|
||||
|
|
Loading…
Reference in New Issue