Adjust #114: Use ['HOME'] instead of PANTHEON_BINDING, for greater flexibility.

This commit is contained in:
Greg Anderson 2015-12-01 15:00:39 -08:00
parent d0b212ae61
commit 15f6ca3449

View file

@ -129,8 +129,8 @@ if (isset($_ENV['PANTHEON_ENVIRONMENT'])) {
* Issue: https://github.com/pantheon-systems/drops-8/issues/114
*
*/
if (defined("PANTHEON_BINDING")) {
$config['system.file']['path']['temporary'] = '/srv/bindings/'. PANTHEON_BINDING .'/tmp';
if (isset($_ENV['PANTHEON_ENVIRONMENT'])) {
$config['system.file']['path']['temporary'] = $_SERVER['HOME'] .'/tmp';
}