From 533e8602c0be3aed7becc74002c58a7d1cf400c3 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Tue, 09 Jun 2009 04:08:00 -0400 Subject: [PATCH] Add cache-buster to scripts and linked files in skin templates --- program/include/rcube_template.php | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index c6d75dd..3d0e739 100755 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -435,6 +435,7 @@ */ 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); } -- Gitblit v1.9.1