Fixes #114: Use appropriate location for tmp directory.
This commit is contained in:
parent
25a6735fb3
commit
8a7f38efdd
|
@ -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';
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in a new issue