diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-10-27 22:48:50 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-10-27 22:48:50 +0200 |
commit | 7b01858c570f5d9d70946b257b66ecca144e2fbd (patch) | |
tree | 42127b5e365f0eb8e650b1769f7144cc6bb7e6fc /lib | |
parent | 6d4d15b221443e0cfb375f9870e34e825cc79c37 (diff) | |
download | nextcloud-server-7b01858c570f5d9d70946b257b66ecca144e2fbd.tar.gz nextcloud-server-7b01858c570f5d9d70946b257b66ecca144e2fbd.zip |
Enable php display_errors setting
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index d5fff1e0a74..c52b4493e01 100644 --- a/lib/base.php +++ b/lib/base.php @@ -77,6 +77,9 @@ class OC{ // set some stuff //ob_start(); error_reporting(E_ALL | E_STRICT); + if (defined('DEBUG') && DEBUG){ + ini_set('display_errors', 1); + } date_default_timezone_set('Europe/Berlin'); ini_set('arg_separator.output','&'); |