Adjust #114: Use ['HOME'] instead of PANTHEON_BINDING, for greater flexibility.
This commit is contained in:
parent
d0b212ae61
commit
15f6ca3449
|
@ -129,8 +129,8 @@ if (isset($_ENV['PANTHEON_ENVIRONMENT'])) {
|
||||||
* Issue: https://github.com/pantheon-systems/drops-8/issues/114
|
* Issue: https://github.com/pantheon-systems/drops-8/issues/114
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
if (defined("PANTHEON_BINDING")) {
|
if (isset($_ENV['PANTHEON_ENVIRONMENT'])) {
|
||||||
$config['system.file']['path']['temporary'] = '/srv/bindings/'. PANTHEON_BINDING .'/tmp';
|
$config['system.file']['path']['temporary'] = $_SERVER['HOME'] .'/tmp';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue