force css reload on change
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user