small corrections to config.sample.php

This commit is contained in:
Carla Schroder 2014-10-10 09:42:58 -07:00
parent 3f9cab00e3
commit 6775c9ed32
1 changed files with 12 additions and 6 deletions

View File

@ -40,27 +40,32 @@ $CONFIG = array(
* This is a unique identifier for your ownCloud installation, created * This is a unique identifier for your ownCloud installation, created
* automatically by the installer. Do not change it. * automatically by the installer. Do not change it.
*/ */
'instanceid' => '', 'instanceid' => 'd3c944a9a',
/** /**
* The salt used to hash all passwords, auto-generated by the ownCloud * The salt used to hash all passwords, auto-generated by the ownCloud
* installer. (There are also per-user salts.) If you lose this salt you lose * installer. (There are also per-user salts.) If you lose this salt you lose
* all your passwords. * all your passwords.
*/ */
'passwordsalt' => '', 'passwordsalt' => 'd3c944a9af095aa08f',
/** /**
* 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
* necessary security checks. * necessary security checks.
*/ */
'trusted_domains' => array('demo.example.org', 'otherdomain.example.org:8080'), 'trusted_domains' =>
array (
0 => 'demo.example.org',
1 => 'otherdomain.example.org:8080',
),
/** /**
* Where user files are stored; this defaults to ``data/`` in the ownCloud * Where user files are stored; this defaults to ``data/`` in the ownCloud
* directory. The SQLite database is also stored here, when you use SQLite. * directory. The SQLite database is also stored here, when you use SQLite.
*/ */
'datadirectory' => '', 'datadirectory' => '/var/www/owncloud/data',
/** /**
* The current version number of your ownCloud installation. This is set up * The current version number of your ownCloud installation. This is set up
@ -642,10 +647,11 @@ $CONFIG = array(
*/ */
/** /**
* Blacklist a specific file and disallow the upload of files with this name * Blacklist a specific file or files and disallow the upload of files
* with this name
* WARNING: USE THIS ONLY IF YOU KNOW WHAT YOU ARE DOING. * WARNING: USE THIS ONLY IF YOU KNOW WHAT YOU ARE DOING.
*/ */
'blacklisted_files' => array('.htaccess'), 'blacklisted_files' => array('filename1', 'filename2'),
/** /**
* Define a default folder for shared files and folders other than root. * Define a default folder for shared files and folders other than root.