Re: config_load removed from core
| From: | Tom Sommer | Date: | Sun, 20 Apr 2003 19:34:42 +0000 |
| Subject: | Re: config_load removed from core | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1240@lists.php.net to get a copy of this message | ||
On 20 Apr 2003 13:21:42 -0500, Monte Ohrt wrote:
> config_load is now a 100% plugin feature. The behavior should be
> transparent, let me know if there are any problems.
> This will allow you to drop in a plugin to make custom config_load
> features instead of editing the smarty library files.
Bug:
Notice: Undefined variable: scope in
/www/tsn/lib/smarty/libs/plugins/function.config_load.php on line 109
Which is loaded by:
$smarty->config_load('main.conf');
Patch:
http://dev.tsn.dk/smarty.patch.config_load.txt
--
Tom Sommer, Denmark
www.tsn.dk - www.dreamcoder.dk