Re: [SMARTY] Re: [SMARTY-GENERAL] Plugindir
| From: | Andrei Zmievski | Date: | Tue, 09 Apr 2002 20:56:35 +0000 |
| Subject: | Re: [SMARTY] Re: [SMARTY-GENERAL] Plugindir | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3593@lists.php.net to get a copy of this message | ||
On Tue, 09 Apr 2002, Andreas Kossmeier wrote:
> and where is exactly the problem?
>
> you just gather the data of the plugin location at compilation time, you
> don't have to check it at run-time in _load_plugins. this should not
> affect registerd plugins via register_* API.
At compilation time, the plugin may not yet be registered. If we don't
check for plugins at all in _load_plugins() then you end up with
messages like: "Undefined function () in ....".
-Andrei
* How would this sentence be different if Pi was equal to three? *