]> source.dussan.org Git - nextcloud-server.git/commitdiff
Warn users not to enable DEBUG in productive environments
authorLukas Reschke <lukas@statuscode.ch>
Fri, 25 Jan 2013 17:14:37 +0000 (18:14 +0100)
committerLukas Reschke <lukas@statuscode.ch>
Fri, 25 Jan 2013 17:14:37 +0000 (18:14 +0100)
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.

config/config.sample.php

index acc5547ecd16bc3478477fd737ed04b690c692e7..51373327f449cce52da754b894c4d592d99cd069 100644 (file)
@@ -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(