clear_compiled_tpl

void clear_compiled_tpl (string tpl_file)

This clears the compiled version of the specified template resource, or all compiled template files if one is not specified. This function is for advanced use only, not normally needed.

Пример 13-9. clear_compiled_tpl

// clear a specific template resource
$smarty->clear_compiled_tpl("index.tpl");

// clear entire compile directory
$smarty->clear_compiled_tpl();