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
diff options
context:
space:
mode:
authorJohannes Leuker <j.leuker@hosting.de>2020-12-08 17:12:04 +0300
committerJohannes Leuker <j.leuker@hosting.de>2021-01-12 12:38:39 +0300
commitac88bcbd5f03419e149dac2a080f8f206876547e (patch)
tree3448cc127bc4bdc55276d123ccaa96b3dcfe291e /config/config.sample.php
parent15924b8832fef063f78ba189b1f2d68049e36779 (diff)
Add 'allow Symlinks' as an option to config.php
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
Diffstat (limited to 'config/config.sample.php')
-rw-r--r--config/config.sample.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 1560fe8ac39..216a32c8ebd 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1620,6 +1620,15 @@ $CONFIG = [
'minimum.supported.desktop.version' => '2.0.0',
/**
+ * Option to allow local storage to contain symlinks.
+ * WARNING: Not recommended. This would make it possible for Nextcloud to access
+ * files outside the data directory and could be considered a security risk.
+ *
+ * Defaults to ``false``
+ */
+'localstorage.allowsymlinks' => false,
+
+/**
* EXPERIMENTAL: option whether to include external storage in quota
* calculation, defaults to false.
*