Fixes #114: Use appropriate location for tmp directory.

This commit is contained in:
Greg Anderson 2015-12-01 10:12:41 -08:00
parent 25a6735fb3
commit 8a7f38efdd

View file

@ -109,4 +109,14 @@ if (isset($_ENV['PANTHEON_ENVIRONMENT'])) {
$settings['hash_salt'] = $_ENV['DRUPAL_HASH_SALT'];
}
/**
* Define appropriate location for tmp directory
*
* Issue: https://github.com/pantheon-systems/drops-8/issues/114
*
*/
if (defined("PANTHEON_BINDING")) {
$config['system.file']['path']['temporary'] = '/srv/bindings/'. PANTHEON_BINDING .'/tmp';
}