WEB: Disable Smarty caching

This commit is contained in:
Matan Bareket
2019-01-23 05:21:02 -05:00
parent e916b2b7e3
commit 9d98a5991e
+1
View File
@@ -31,6 +31,7 @@ class Controller
/* Configure smarty. */
$this->smarty->setCompileDir(SMARTY_DIR_COMPILE);
$this->smarty->setCacheDir(SMARTY_DIR_CACHE);
$this->smarty->setCaching(Smarty::CACHING_OFF);
$this->smarty->setTemplateDir(array("templates_$lang", 'templates'));
$this->smarty->compile_id = $lang;