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:
Morris Jobke 2016-10-24 15:03:18 +02:00 committed by Roeland Jago Douma
parent 2e0e68b57f
commit f920153f16
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with 1 additions and 1 deletions

View File

@ -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.