force css reload on change

This commit is contained in:
following
2013-02-27 03:46:30 +01:00
parent f9e2dfa9fd
commit 2f54c60359
4 changed files with 11 additions and 5 deletions
+3
View File
@@ -237,6 +237,9 @@ class OcSmarty extends Smarty
$this->bench->stop();
$this->assign('sys_runtime', $this->bench->diff());
$this->assign('screen_css_time',filemtime($opt['rootpath'] . "resource2/" . $opt['template']['style'] . "/css/style_screen.css"));
$this->assign('print_css_time',filemtime($opt['rootpath'] . "resource2/" . $opt['template']['style'] . "/css/style_print.css"));
// check if the template is compiled
// if not, check if translation works correct
$_smarty_compile_path = $this->_get_compile_path($this->name);