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-02-04 02:03:06 +0400
committerLukas Reschke <lukas@statuscode.ch>2013-02-04 02:03:06 +0400
commit3def7f81873fef84b781174ad12f7e264b4caae5 (patch)
tree5dd3e3eb0a46cb4f47a15a8b52a0e2d5512f55b2 /config
parentb8e6b8692b0c306de6ebfe0a82bfe7bab304cd0a (diff)
Make fileblacklist configurable
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 5264e948200..163beaae2f4 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -32,6 +32,9 @@ $CONFIG = array(
/* Force use of HTTPS connection (true = use HTTPS) */
"forcessl" => false,
+/* Blacklist a specific file and disallow the upload of files with this name - WARNING: USE THIS ONLY IF YOU KNOW WHAT YOU ARE DOING. */
+"blacklisted_files" => array('.htaccess'),
+
/* The automatic hostname detection of ownCloud can fail in certain reverse proxy situations. This option allows to manually override the automatic detection. You can also add a port. For example "www.example.com:88" */
"overwritehost" => "",