$debugging_ctrl

chinmay.sahoo

New member
This determines whether debugging can be enabled from the browser. It has two possible values:

This is a Boolean variable that tells Smarty whether or not to check if a template has modified its content. The default value of the variable is true, which means that Smarty will check to see if a template has changed its timestamp from the last compilation. If it has, Smarty will recompile that template. If you set the variable to false, Smarty will only compile a template upon it's first invocation and will not recompile it, irrespective of if you modified it or not. Setting the variable to false will improve performance on a project that doesn't change (for example, when going into production).

If caching is enabled and $compile_check is set to true, the cache files will be regenerated at every modification of the templates or configuration files involved.
 
Back
Top