diff options
Diffstat (limited to '')
-rw-r--r-- | include/template.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/template.php b/include/template.php index f82937d99..674e08659 100644 --- a/include/template.php +++ b/include/template.php @@ -330,6 +330,8 @@ class Template { { // PWG specific : communication between template and $lang $code = preg_replace('/\{lang:([^}]+)\}/e', "l10n('$1')", $code); + // PWG specific : expand themeconf.inc.php variables + $code = preg_replace('/\{themeconf:([^}]+)\}/e', "get_themeconf('$1')", $code); // replace \ with \\ and then ' with \'. $code = str_replace('\\', '\\\\', $code); |