Re: [SMARTY-DEV] About plugins dir
| From: | Andrei Zmievski | Date: | Wed, 22 May 2002 16:16:30 +0000 |
| Subject: | Re: [SMARTY-DEV] About plugins dir | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-97@lists.php.net to get a copy of this message | ||
On Wed, 22 May 2002, Roberto Berto wrote:
> Hi all,
>
> IMHO should be two plugins dir. One to official Smarty plugins and
> another to user plugins because sometimes users want to upgrade its
> Smarty version and they need select one by one of they own plugins.
>
> I loose some plugins two times when I was moving my plugins.
>
> What is the problem in search plugins in more than one place? Why not an
> array of plugins dirs? Of course, Smarty Plugins will be the first place
> to PHP search in and the performace will not be changed since PHP cache
> directory handles.
The policy needs to be established. Do plugins in the user dir override
plugins in the Smarty dir? How is this handled then (in
function.html_select_date.php):
require_once SMARTY_DIR . $this->plugins_dir . '/shared.make_timestamp.php';
Is it going to have to use $this->plugins_dir[1]?
-Andrei http://www.gravitonic.com/
"PHP is like a teenage blonde walking alone in the night..
and all these newbies are lurking in the shadows.."
-- Jani Taskinen