X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fplpage.php;h=cc932a6d4bb9e95f07428def1d5f8767e7b67382;hb=ebde1aef351c87babbc242d8a799073666b3cbe1;hp=234cdb181b21ac5c462c2c65dfa810e4a1e79957;hpb=b6ec30c586ec14541f59ab10e20fdffe6423c509;p=platal.git diff --git a/classes/plpage.php b/classes/plpage.php index 234cdb1..cc932a6 100644 --- a/classes/plpage.php +++ b/classes/plpage.php @@ -49,7 +49,7 @@ abstract class PlPage extends Smarty $globals->spoolroot . '/plugins/'); $this->config_dir = $globals->spoolroot . '/configs/'; - $this->compile_check = !empty($globals->debug); + $this->compile_check = !empty($globals->debug) || $globals->smarty_autocompile; $this->_errors = array('errors' => array()); $this->_jsonVars = array();