Skip to content

Commit f294af4

Browse files
committed
Merge pull request #219 from redbeardcreator/fix-218
Make GlobalConfig::resolveValue() recursive again
2 parents 7feacfa + 2707294 commit f294af4

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)