summaryrefslogtreecommitdiff
path: root/program/include/rcube_template.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-06-09 08:08:00 +0000
committerthomascube <thomas@roundcube.net>2009-06-09 08:08:00 +0000
commit533e8602c0be3aed7becc74002c58a7d1cf400c3 (patch)
treedd1ee6db894960ecb8b8a215b8d29e36bfa4a7a6 /program/include/rcube_template.php
parent384d83adb9641cfcb5365b25706c89cee8e688de (diff)
Add cache-buster to scripts and linked files in skin templates
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);
}