Re: Feature request: multiple plugin directories
| From: | Monte Ohrt | Date: | Thu, 14 Mar 2002 20:49:02 +0000 |
| Subject: | Re: Feature request: multiple plugin directories | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3066@lists.php.net to get a copy of this message | ||
This was thought about, but after some tests it was concluded that the
template engine is much more efficient with one plugin directory. With
every directory you add, it requires more directory scanning. Maybe for
functionality that you'd like to add to a specific application, you
should include the functions and register them in your app instead of
looking for them in a plugin directory.
Peter Bowyer wrote:
>
> Hi,
>
> It would be nice if you could define multiple plugin directories for the
> application. That way, users wouldn't need to have access to the plugins
> directory to install them (I put smarty in the same directory as PEAR on
> the web server) and applications could be distributed with only their
> "extra" plugins as opposed to a whole duplicate set that is required at the
> moment if you set the plugin directory to some other location.
>
> What do you think?
> Peter.
>
> --
> Maple Design - quality web design and programming
> http://www.mapledesign.co.uk
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
Director of Technology, ispi Inc.