summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-08-24 12:00:37 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-08-24 15:14:05 +0200
commite88b380973b54bc7b8bc86f888b1f11ae8e54076 (patch)
treeeb26a996febd377d21d756fdddd884a1a2ea451d /config
parenta67a2272e77485391695af84644e7a9074e50af8 (diff)
downloadnextcloud-server-e88b380973b54bc7b8bc86f888b1f11ae8e54076.tar.gz
nextcloud-server-e88b380973b54bc7b8bc86f888b1f11ae8e54076.zip
Remove DEBUG constant and use config value
* introduces config.php option 'debug' that defaults to false * migrate DEBUG constant to config value
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 522cf02ceba..234bf8e0fa3 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -20,12 +20,6 @@
* * use RST syntax
*/
-/**
- * Only enable this for local development and not in production environments
- * This will disable the minifier and outputs some additional debug informations
- */
-define('DEBUG', true);
-
$CONFIG = array(
@@ -1080,6 +1074,14 @@ $CONFIG = array(
'memcache.locking' => '\\OC\\Memcache\\Redis',
/**
+ * Set this ownCloud instance to debugging mode
+ *
+ * Only enable this for local development and not in production environments
+ * This will disable the minifier and outputs some additional debug information
+ */
+'debug' => false,
+
+/**
* This entry is just here to show a warning in case somebody copied the sample
* configuration. DO NOT ADD THIS SWITCH TO YOUR CONFIGURATION!
*