From 27072945aa1d25d5add16476d0fec4b0b6cca039 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Sat, 25 Apr 2015 17:17:04 -0500 Subject: [PATCH] Make GlobalConfig::resolveValue() recursive again Dropping this broke resolution is some cases. Fixes #218. --- src/config/GlobalConfig.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config/GlobalConfig.php b/src/config/GlobalConfig.php index 1ad71e2b..19b4f231 100644 --- a/src/config/GlobalConfig.php +++ b/src/config/GlobalConfig.php @@ -181,6 +181,9 @@ function($matches) use ($vars, $line) { } return $vars[$matches[1]]; }, $value); + if (preg_match('/\${(.*?)}/', $result)) { + $result = $this->resolveValue($result, $vars, $line); + } return $result; }