Re: PHP allow bug
| From: | Monte Ohrt | Date: | Mon, 19 Feb 2001 20:33:15 +0000 |
| Subject: | Re: PHP allow bug | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-154@lists.php.net to get a copy of this message | ||
Hojtsy Gabor wrote:
>
> > Here is what we are currently planning on doing for 1.3.0:
> >
> > * drop $php_allow
> > * add $php_handling with the following possible values:
> >
> > SMARTY_PHP_QUOTE -> escape the tags into entities
> > SMARTY_PHP_PASSTHRU -> echo the tags exactly as-is
> > SMARTY_PHP_REMOVE -> remove php code entirely
> > SMARTY_PHP_ALLOW -> allow php code to execute
> >
> > default being SMARTY_PHP_PASSTHRU
>
> It seems all right. Although my default will be:
> SMARTY_PHP_REMOVE :) But his is just my own setting...
>
We chose this default purely for backward compatibility.