]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add a warning to the configuration file
authorLukas Reschke <lukas@statuscode.ch>
Thu, 29 May 2014 15:43:59 +0000 (17:43 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Thu, 29 May 2014 15:43:59 +0000 (17:43 +0200)
Some people believe that they should copy the sample config to the "real" config. I noticed this several times in IRC and on the bugtracker.

I guess this warning should be enough to avoid this in the future.

config/config.sample.php

index 80694837edc71091f10ac0bf82bbd5c62e191049..bf0ec468ad3ea91bb98619c2c8b251d022d6bfdb 100755 (executable)
@@ -1,5 +1,11 @@
 <?php
 
+/**
+ * This configuration file is only provided to document the different configuration options and their usage.
+ * DO NOT COMPLETELY BASE YOUR CONFIGURATION FILE ON THIS SAMPLE. THIS MAY BREAK YOUR INSTANCE.
+ * Instead copy configurations switches that you consider important for your instance manually to your configuration.
+ */
+
 /* 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);