Re: [SMARTY] number_format should be standard smarty modifier
| From: | boots | Date: | Fri, 08 Oct 2004 20:51:31 +0000 |
| Subject: | Re: [SMARTY] number_format should be standard smarty modifier | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11868@lists.php.net to get a copy of this message | ||
I Agree. Even when Smarty's security is turned on, access to the native
PHP functions can be had by whitelisting them in your setup. When it is
a straight passthru like this, I think that a modifier wrapper is going
overboard.
xo boots
--- Robert Amos <shiznatz@gmail.com> wrote:
> You can use any inbuilt php function as a smarty modifier, whats
> preventing you from using that? Theres no need for a wrapper that
> adds extra processing when the engine will pass it through to the php
> number_format() function automagically.