Fixes #69: Configure private files path by default.

This commit is contained in:
Greg Anderson 2015-10-08 11:09:31 -07:00
parent 7de5010d24
commit eb34d130a8

View file

@ -12,6 +12,14 @@
* attempting to apply upstream updates.
*/
/**
* Set the default location for the 'private' directory. Note
* that this location is protected when running on the Pantheon
* environment, but may be exposed if you migrate your site to
* another environment.
*/
$settings['file_private_path'] = 'sites/default/files/private';
// Check to see if we are serving an installer page.
$is_installer_url = (strpos($_SERVER['SCRIPT_NAME'], '/core/install.php') === 0);