-
☆ A M B ☆
- 91 Posts
Part of code:
if (preg_match_all('~\{(.*?)\}~', $v, $matches, PREG_SET_ORDER)) {
foreach ($matches as $match) {
if (array_key_exists("{$match[1]}", $contextConfig)) {
$matchValue= $contextConfig["{$match[1]}"];
} else {
$matchValue= '';
}
$v= str_replace($match[0], $matchValue, $v);
}
}
This replace all matches with {}
By this reason can`t save ExtensionPackages for same context: [{"pack":{"path":"[[++core_path]]components/pack/model/"}}]
-
☆ A M B ☆
- 91 Posts
.any chance you want to submit a PR for this?
Sorry, what is PR?
-
☆ A M B ☆
- 3,141 Posts
Quote from: Fi1osof at Jan 05, 2013, 07:44 AM.any chance you want to submit a PR for this?
Sorry, what is PR?
Pull Request
-
☆ A M B ☆
- 91 Posts
Quote from: markh at Jan 05, 2013, 08:49 AMPull Request 
Ow. OK:)
-
☆ A M B ☆
- 91 Posts