diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-07-06 09:07:35 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-07-06 09:07:35 +0200 |
commit | 8359ca43db22c1943c8e42b7ec49b7ad66d28bc3 (patch) | |
tree | f821ecc6f91ac539f7c2defc3dd3dc495dc665d1 /config | |
parent | 5734edfe203717d290265a6c207b02def6b95279 (diff) | |
download | nextcloud-server-8359ca43db22c1943c8e42b7ec49b7ad66d28bc3.tar.gz nextcloud-server-8359ca43db22c1943c8e42b7ec49b7ad66d28bc3.zip |
[config sample] merge Miscellaneous & All other options
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 173 |
1 files changed, 86 insertions, 87 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 19e7843d6c9..beb3434ca04 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -790,47 +790,6 @@ $CONFIG = array( 'config' => '/absolute/location/of/openssl.cnf', ), - -/** - * Miscellaneous - */ - -/** - * Blacklist a specific file or files and disallow the upload of files - * with this name. ``.htaccess`` is blocked by default. - * WARNING: USE THIS ONLY IF YOU KNOW WHAT YOU ARE DOING. - */ -'blacklisted_files' => array('.htaccess'), - -/** - * Define a default folder for shared files and folders other than root. - */ -'share_folder' => '/', - -/** - * If you are applying a theme to ownCloud, enter the name of the theme here. - * The default location for themes is ``owncloud/themes/``. - */ -'theme' => '', - -/** - * The default cipher for encrypting files. Currently AES-128-CFB and - * AES-256-CFB are supported. - */ -'cipher' => 'AES-256-CFB', - -/** - * The minimum ownCloud desktop client version that will be allowed to sync with - * this server instance. All connections made from earlier clients will be denied - * by the server. Defaults to the minimum officially supported ownCloud version at - * the time of release of this server version. - * - * When changing this, note that older unsupported versions of the ownCloud desktop - * client may not function as expected, and could lead to permanent data loss for - * clients or other unexpected results. - */ -'minimum.supported.desktop.version' => '1.7.0', - /** * Memory caching backend configuration * @@ -887,53 +846,8 @@ $CONFIG = array( 'cache_path' => '', /** - * EXPERIMENTAL: option whether to include external storage in quota - * calculation, defaults to false. - */ -'quota_include_external_storage' => false, - -/** - * Specifies how often the filesystem is checked for changes made outside - * ownCloud. - * - * 0 -> Never check the filesystem for outside changes, provides a performance - * increase when it's certain that no changes are made directly to the - * filesystem - * - * 1 -> Check each file or folder at most once per request, recommended for - * general use if outside changes might happen. - * - * 2 -> Check every time the filesystem is used, causes a performance hit when - * using external storages, not recommended for regular use. - */ -'filesystem_check_changes' => 1, - -/** - * All css and js files will be served by the web server statically in one js - * file and one css file if this is set to ``true``. + * Using Object Store with ownCloud */ -'asset-pipeline.enabled' => false, - -/** - * The parent of the directory where css and js assets will be stored if - * piplelining is enabled; this defaults to the ownCloud directory. The assets - * will be stored in a subdirectory of this directory named 'assets'. The - * server *must* be configured to serve that directory as $WEBROOT/assets. - * You will only likely need to change this if the main ownCloud directory - * is not writeable by the web server in your configuration. - */ -'assetdirectory' => '/var/www/owncloud', - -/** - * Where ``mount.json`` file should be stored, defaults to ``data/mount.json`` - */ -'mount_file' => 'data/mount.json', - -/** - * When ``true``, prevent ownCloud from changing the cache due to changes in the - * filesystem for all storage. - */ -'filesystem_cache_readonly' => false, /** * The example below shows how to configure ownCloud to store all files in a @@ -997,6 +911,91 @@ $CONFIG = array( */ /** + * Blacklist a specific file or files and disallow the upload of files + * with this name. ``.htaccess`` is blocked by default. + * WARNING: USE THIS ONLY IF YOU KNOW WHAT YOU ARE DOING. + */ +'blacklisted_files' => array('.htaccess'), + +/** + * Define a default folder for shared files and folders other than root. + */ +'share_folder' => '/', + +/** + * If you are applying a theme to ownCloud, enter the name of the theme here. + * The default location for themes is ``owncloud/themes/``. + */ +'theme' => '', + +/** + * The default cipher for encrypting files. Currently AES-128-CFB and + * AES-256-CFB are supported. + */ +'cipher' => 'AES-256-CFB', + +/** + * The minimum ownCloud desktop client version that will be allowed to sync with + * this server instance. All connections made from earlier clients will be denied + * by the server. Defaults to the minimum officially supported ownCloud version at + * the time of release of this server version. + * + * When changing this, note that older unsupported versions of the ownCloud desktop + * client may not function as expected, and could lead to permanent data loss for + * clients or other unexpected results. + */ +'minimum.supported.desktop.version' => '1.7.0', + +/** + * EXPERIMENTAL: option whether to include external storage in quota + * calculation, defaults to false. + */ +'quota_include_external_storage' => false, + +/** + * Specifies how often the filesystem is checked for changes made outside + * ownCloud. + * + * 0 -> Never check the filesystem for outside changes, provides a performance + * increase when it's certain that no changes are made directly to the + * filesystem + * + * 1 -> Check each file or folder at most once per request, recommended for + * general use if outside changes might happen. + * + * 2 -> Check every time the filesystem is used, causes a performance hit when + * using external storages, not recommended for regular use. + */ +'filesystem_check_changes' => 1, + +/** + * All css and js files will be served by the web server statically in one js + * file and one css file if this is set to ``true``. + */ +'asset-pipeline.enabled' => false, + +/** + * The parent of the directory where css and js assets will be stored if + * piplelining is enabled; this defaults to the ownCloud directory. The assets + * will be stored in a subdirectory of this directory named 'assets'. The + * server *must* be configured to serve that directory as $WEBROOT/assets. + * You will only likely need to change this if the main ownCloud directory + * is not writeable by the web server in your configuration. + */ +'assetdirectory' => '/var/www/owncloud', + +/** + * Where ``mount.json`` file should be stored, defaults to ``data/mount.json`` + */ +'mount_file' => 'data/mount.json', + +/** + * When ``true``, prevent ownCloud from changing the cache due to changes in the + * filesystem for all storage. + */ +'filesystem_cache_readonly' => false, + +/** * Secret used by ownCloud for various purposes, e.g. to encrypt data. If you * lose this string there will be data corruption. */ |