diff options
-rw-r--r-- | lib/base.php | 2 |
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. |