Restructure config.sample.php of master

This commit is contained in:
RealRancor 2015-09-23 10:04:41 +02:00
parent 1f146d678c
commit b2ae4cab52
1 changed files with 31 additions and 31 deletions

View File

@ -54,12 +54,6 @@ $CONFIG = array(
*/ */
'passwordsalt' => '', 'passwordsalt' => '',
/**
* The hashing cost used by hashes generated by ownCloud
* Using a higher value requires more time and CPU power to calculate the hashes
*/
'hashingCost' => 10,
/** /**
* Your list of trusted domains that users can log into. Specifying trusted * Your list of trusted domains that users can log into. Specifying trusted
* domains prevents host header poisoning. Do not remove this, as it performs * domains prevents host header poisoning. Do not remove this, as it performs
@ -79,16 +73,6 @@ $CONFIG = array(
*/ */
'datadirectory' => '/var/www/owncloud/data', 'datadirectory' => '/var/www/owncloud/data',
/**
* Override where ownCloud stores temporary files. Useful in situations where
* the system temporary directory is on a limited space ramdisk or is otherwise
* restricted, or if external storages which do not support streaming are in
* use.
*
* The web server user must have write access to this directory.
*/
'tempdirectory' => '/tmp/owncloudtemp',
/** /**
* The current version number of your ownCloud installation. This is set up * The current version number of your ownCloud installation. This is set up
* during installation and update, so you shouldn't need to change it. * during installation and update, so you shouldn't need to change it.
@ -139,20 +123,6 @@ $CONFIG = array(
*/ */
'dbtableprefix' => '', 'dbtableprefix' => '',
/**
* Additional driver options for the database connection, eg. to enable SSL
* encryption in MySQL.
*/
'dbdriveroptions' => array(
PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
),
/**
* sqlite3 journal mode can be specified using this config parameter - can be
* 'WAL' or 'DELETE' see for more details https://www.sqlite.org/wal.html
*/
'sqlite.journal_mode' => 'DELETE',
/** /**
* Indicates whether the ownCloud instance was installed successfully; ``true`` * Indicates whether the ownCloud instance was installed successfully; ``true``
* indicates a successful installation, and ``false`` indicates an unsuccessful * indicates a successful installation, and ``false`` indicates an unsuccessful
@ -974,6 +944,24 @@ $CONFIG = array(
), ),
), ),
/**
* All other config options
*/
/**
* Additional driver options for the database connection, eg. to enable SSL
* encryption in MySQL.
*/
'dbdriveroptions' => array(
PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
),
/**
* sqlite3 journal mode can be specified using this config parameter - can be
* 'WAL' or 'DELETE' see for more details https://www.sqlite.org/wal.html
*/
'sqlite.journal_mode' => 'DELETE',
/** /**
* Database types that are supported for installation. * Database types that are supported for installation.
* *
@ -991,8 +979,20 @@ $CONFIG = array(
), ),
/** /**
* All other config options * Override where ownCloud stores temporary files. Useful in situations where
* the system temporary directory is on a limited space ramdisk or is otherwise
* restricted, or if external storages which do not support streaming are in
* use.
*
* The web server user must have write access to this directory.
*/ */
'tempdirectory' => '/tmp/owncloudtemp',
/**
* The hashing cost used by hashes generated by ownCloud
* Using a higher value requires more time and CPU power to calculate the hashes
*/
'hashingCost' => 10,
/** /**
* Blacklist a specific file or files and disallow the upload of files * Blacklist a specific file or files and disallow the upload of files