From e88b380973b54bc7b8bc86f888b1f11ae8e54076 Mon Sep 17 00:00:00 2001
From: Morris Jobke <hey@morrisjobke.de>
Date: Mon, 24 Aug 2015 12:00:37 +0200
Subject: Remove DEBUG constant and use config value

* introduces config.php option 'debug' that defaults to false
* migrate DEBUG constant to config value
---
 config/config.sample.php | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

(limited to 'config/config.sample.php')

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(
 
 
@@ -1079,6 +1073,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!
-- 
cgit v1.2.3