Re: [SMARTY] Re: [SMARTY-GENERAL] Plugindir
| From: | Andrei Zmievski | Date: | Tue, 09 Apr 2002 20:16:39 +0000 |
| Subject: | Re: [SMARTY] Re: [SMARTY-GENERAL] Plugindir | ||
| References: | 1 2 3 4 5 6 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3588@lists.php.net to get a copy of this message | ||
On Tue, 09 Apr 2002, Monte Ohrt wrote:
> It scans them only once per invocation right? Once it finds the plugin
> it doesn't search anymore. Also, you can just put output filters in the
> first directory to get the best performance.
Yes, but invocation means an access to the template, so it will scan it
as many times as the template is displayed.
Putting the output filters in the first directory would mean putting
them in the Smarty's default directory, since that has to be the first
one.
-Andrei
What's hard, in hacking as in fiction,
is not the writing, it's deciding what to write.
-- Neal Stephenson