Documentation error?
| From: | Simon Cunningham | Date: | Wed, 26 Sep 2001 20:37:46 +0000 |
| Subject: | Documentation error? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1557@lists.php.net to get a copy of this message | ||
I think this is an error in the documentation, but I could be wrong. I was triyng to
force the recompile of all templates using clear_compile_dir(), but kept getting
the following error:
Fatal error: Call to undefined function: clear_compile_dir() in
/usr/local/httpd/htdocs/anic/lrt/global.php on line 39
So I looked through Smarty.class.php and found the function clear_compile_tpl()
which does what I want. I am assuming that the documentation should document
clear_compile_tpl() instead of clear_compile_dir().
Please correct me if this is an incorrect assumption.
Simon Cunningham.