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
path: root/config
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-01-25 21:14:37 +0400
committerLukas Reschke <lukas@statuscode.ch>2013-01-25 21:14:37 +0400
commit0d6a577481f41128d5091b4d624d119ca4ac05de (patch)
tree491f3381c969c8605d5e866d68d762f9d9419b5a /config
parentd21946fdce1e27351601bdbff805859685a4bb16 (diff)
Warn users not to enable DEBUG in productive environments
The debug mode should not be enabled in productive environments and is also a security risk since some apps outputs unsanitized debug data to the template.
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index acc5547ecd1..51373327f44 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1,5 +1,7 @@
<?php
+/* Only enable this for local development and not in productive environments */
+/* This will disable the minifier and outputs some additional debug informations */
define("DEBUG", true);
$CONFIG = array(