Skip to content
Snippets Groups Projects
Unverified Commit f920153f authored by Morris Jobke's avatar Morris Jobke Committed by Roeland Jago Douma
Browse files

Throw exception because the logger causes session issues anyway that early in the request cycle


Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent 2e0e68b5
No related branches found
No related tags found
No related merge requests found
...@@ -626,7 +626,7 @@ class OC { ...@@ -626,7 +626,7 @@ class OC {
@ini_set('log_errors', 1); @ini_set('log_errors', 1);
if(!date_default_timezone_set('UTC')) { 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. //try to configure php to enable big file uploads.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment