Re: Documentation error?
| From: | Andrei Zmievski | Date: | Wed, 26 Sep 2001 20:41:37 +0000 |
| Subject: | Re: Documentation error? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1558@lists.php.net to get a copy of this message | ||
Actually, it should have been clear_compiled_tpl(). I've changed it in
Smarty and update the docs sources for next update. Thanks.
On Wed, 26 Sep 2001, Simon Cunningham wrote:
> 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.
>
>
>
> ---
> You are currently subscribed to smarty as: andrei@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
-Andrei
"In this age, which believes that there is a short cut to everything,
the greatest lesson to be learned is that the most difficult way is, in
the long run, the easiest."
-Henry Miller, The Books in My Life