Re: [SMARTY] Re: [SMARTY-GENERAL] Plugindir
| From: | Andrei Zmievski | Date: | Tue, 09 Apr 2002 20:42:23 +0000 |
| Subject: | Re: [SMARTY] Re: [SMARTY-GENERAL] Plugindir | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3591@lists.php.net to get a copy of this message | ||
On Tue, 09 Apr 2002, Andreas Kossmeier wrote:
> what about introducing a special output filter directory var, where you
> can specify a custom directory for these plugins (default could be the
> same as plugins_dir) and maybe a possibility for switching of output
> filters in your application, so smarty doesn't have to scan for any.
>
> BTW: why not moving all plugin scanning into the compilation process? i
> think this should work for all plugins except output plugins, because
> adding an output filter would then mean to recompile all templates.
Because the plugin may be registered at run-time via register_* API.
-Andrei
I must say I find television very educational. The minute
somebody turns it on, I go to the library and read a good book.
- Groucho Marx