Skip to content

Commit 2707294

Browse files
committedApr 25, 2015
Make GlobalConfig::resolveValue() recursive again
Dropping this broke resolution is some cases. Fixes theseer#218.
1 parent 7feacfa commit 2707294

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/config/GlobalConfig.php

+3
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ function($matches) use ($vars, $line) {
181181
}
182182
return $vars[$matches[1]];
183183
}, $value);
184+
if (preg_match('/\${(.*?)}/', $result)) {
185+
$result = $this->resolveValue($result, $vars, $line);
186+
}
184187
return $result;
185188
}
186189

0 commit comments

Comments
 (0)
Please sign in to comment.