Re: [SMARTY-DEV] modifier.date_format.php
| From: | Mark Rogers | Date: | Thu, 28 Aug 2003 10:19:11 +0000 |
| Subject: | Re: [SMARTY-DEV] modifier.date_format.php | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1814@lists.php.net to get a copy of this message | ||
messju mohr wrote:
> Mark Rogers wrote
> > Presumably the way the plugins are included has changed, but surely this
now
> > requires that the smarty object is called $smarty?
>
> no, it doesn't . the $smarty mentioned in modifier.date_format.php is
> the 2nd parameter to smarty_core_load_plugins($params, &$smarty) in
> libs/core/core.load_plugins.php . you still can call your
> smarty-object as you like and use multiple ones.
Ah, I see how it fits together now.
Thanks for clarifying it. I only noticed it when a long untouched plug-in of
mine broke after the upgrade to 2.6.
Mark Rogers,
More Solutions Ltd