aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-10-24 15:03:18 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-10-24 21:14:44 +0200
commitf920153f163299d3ee99d07307b9af7f16b2041d (patch)
treed5e11a9f40092c4359b1f95645628d9f778ed7b9 /lib/base.php
parent2e0e68b57f456da6272b1af291620b34874ee01d (diff)
downloadnextcloud-server-f920153f163299d3ee99d07307b9af7f16b2041d.tar.gz
nextcloud-server-f920153f163299d3ee99d07307b9af7f16b2041d.zip
Throw exception because the logger causes session issues anyway that early in the request cycle
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index bcb81662c0e..883c1f54b17 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -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.