[Pkg-owncloud-commits] [owncloud] 139/199: Add a warning to the configuration file

David Prévot taffit at moszumanska.debian.org
Sun Jun 1 18:53:19 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 62eb5cd6b0859dee266cddc240f3e1e788f871fa
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Thu May 29 17:43:59 2014 +0200

    Add a warning to the configuration file
    
    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 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/config/config.sample.php b/config/config.sample.php
index 8069483..bf0ec46 100755
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list