summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_template.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-09 08:08:00 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-09 08:08:00 +0000
commit58a6eeadeedca7b7970ed15fd0b7c6193527130e (patch)
tree53e34e1ea31da7b8128a83f4ea0b09da220a5f29 /roundcubemail/program/include/rcube_template.php
parente77712ac0e1fdf7c15b998f26ae9eb1485d569b0 (diff)
Add cache-buster to scripts and linked files in skin templates
git-svn-id: https://svn.roundcube.net/trunk@2626 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_template.php')
-rwxr-xr-xroundcubemail/program/include/rcube_template.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php
index c6d75dd19..3d0e7390a 100755
--- a/roundcubemail/program/include/rcube_template.php
+++ b/roundcubemail/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);
}