summaryrefslogtreecommitdiff
path: root/program/include/rcube_template.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_template.php')
-rwxr-xr-xprogram/include/rcube_template.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index c6d75dd19..3d0e7390a 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -435,6 +435,7 @@ class rcube_template extends rcube_html_page
*/
private function parse_with_globals($input)
{
+ $GLOBALS['__version'] = Q(RCMAIL_VERSION);
$GLOBALS['__comm_path'] = Q($this->app->comm_path);
return preg_replace('/\$(__[a-z0-9_\-]+)/e', '$GLOBALS["\\1"]', $input);
}