summaryrefslogtreecommitdiffstats
path: root/lib/legacy
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-06-10 12:07:25 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2013-06-10 12:07:25 -0400
commit969e43c87b7afb6184846fe27849167c9c6f5eab (patch)
tree3bee652cde34d4e0623c91805c35e03283d9d159 /lib/legacy
parentb7b6075d55abdf656128c0044d6649c976e40a00 (diff)
downloadnextcloud-server-969e43c87b7afb6184846fe27849167c9c6f5eab.tar.gz
nextcloud-server-969e43c87b7afb6184846fe27849167c9c6f5eab.zip
Can't determine if debug mode is defined until we read the config
Diffstat (limited to 'lib/legacy')
-rw-r--r--lib/legacy/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/legacy/config.php b/lib/legacy/config.php
index 635f0af66f8..f68d7c31b25 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/', defined('DEBUG') && DEBUG);
+OC_Config::$object = new \OC\Config(OC::$SERVERROOT.'/config/');
class OC_Config {
public static $object;