summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-20 16:15:18 +0100
committerVincent Petry <pvince81@owncloud.com>2014-03-24 12:57:11 +0100
commit10c9b8eb996bcabbe4ef40c51248fd6fca70814a (patch)
tree349246a3f79e37ba8f04e950253d9af5fa8f1251 /config
parentabdc823bb69600c3a4fc23e09f9de5819b57f56e (diff)
downloadnextcloud-server-10c9b8eb996bcabbe4ef40c51248fd6fca70814a.tar.gz
nextcloud-server-10c9b8eb996bcabbe4ef40c51248fd6fca70814a.zip
Cache folder is now configurable
When using an external cache folder, it is automatically mounted in FileSystem::initFileSystem so that any app can use it transparently by creating a view on the "/$user/cache" directory.
Diffstat (limited to 'config')
-rwxr-xr-xconfig/config.sample.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 987a866e49b..f8e216d1e26 100755
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -273,6 +273,15 @@ $CONFIG = array(
/* all css and js files will be served by the web server statically in one js file and ons css file*/
'asset-pipeline.enabled' => false,
- /* where mount.json file should be stored, defaults to data/mount.json */
- 'mount_file' => '',
+/* where mount.json file should be stored, defaults to data/mount.json */
+'mount_file' => '',
+
+/*
+ * Location of the cache folder, defaults to "data/$user/cache" where "$user" is the current user.
+ *
+ * When specified, the format will change to "$cache_path/$user" where "$cache_path" is the configured
+ * cache directory and "$user" is the user.
+ *
+ */
+'cache_path' => ''
);