Re: [SMARTY] Re: I found a BUG in Smarty!
| From: | Johann | Date: | Thu, 16 May 2002 12:56:30 +0000 |
| Subject: | Re: [SMARTY] Re: I found a BUG in Smarty! | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4219@lists.php.net to get a copy of this message | ||
On 16 maja 2002 at 14:27:34
Robert Amos <bok@ausmac.net>
wrote:
> lines 1098 and 1106 of Smarty.class.php:
> include_once($_smarty_php_resource);
> php will only include the .php file ONCE
Bingo! I changed include_once() into include() and now it works
correctly. There are lines 1103 and 1111 of Smarty.class.php for
version 2.1.1. These lines should be changed in next release of
Smarty.
--
Johann