Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-08-24 13:00:37 +0300
committerMorris Jobke <hey@morrisjobke.de>2015-08-24 16:14:05 +0300
commite88b380973b54bc7b8bc86f888b1f11ae8e54076 (patch)
treeeb26a996febd377d21d756fdddd884a1a2ea451d /config/config.sample.php
parenta67a2272e77485391695af84644e7a9074e50af8 (diff)
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/config.sample.php')
-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!
*