diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-06-27 22:24:17 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-06-27 22:24:17 +0200 |
commit | 194b61b4c507e58eab0750ab40ed6eb6f085c06a (patch) | |
tree | fb1346860e08f93473b63ac2be5579757217ed63 /lib/legacy | |
parent | ae2b3732de4eeced50a71f9074d0b5dadf625edd (diff) | |
download | nextcloud-server-194b61b4c507e58eab0750ab40ed6eb6f085c06a.tar.gz nextcloud-server-194b61b4c507e58eab0750ab40ed6eb6f085c06a.zip |
Revert "Can't determine if debug mode is defined until we read the config"
This reverts commit 969e43c87b7afb6184846fe27849167c9c6f5eab.
Diffstat (limited to 'lib/legacy')
-rw-r--r-- | lib/legacy/config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/legacy/config.php b/lib/legacy/config.php index f68d7c31b25..635f0af66f8 100644 --- a/lib/legacy/config.php +++ b/lib/legacy/config.php @@ -38,7 +38,7 @@ * This class is responsible for reading and writing config.php, the very basic * configuration file of ownCloud. */ -OC_Config::$object = new \OC\Config(OC::$SERVERROOT.'/config/'); +OC_Config::$object = new \OC\Config(OC::$SERVERROOT.'/config/', defined('DEBUG') && DEBUG); class OC_Config { public static $object; |