Re: [SMARTY] Re: I found a BUG in Smarty!

From: Date: Thu, 16 May 2002 13:07:51 +0000
Subject: Re: [SMARTY] Re: I found a BUG in Smarty!
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4221@lists.php.net to get a copy of this message
"Johann" <programisci_listy@murator.com.pl> schrieb im Newsbeitrag news:2513651562.20020516145630@murator.com.pl... > 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. This cannot be changed, since a multiple include of php-files will cause errors of redefined functions in most scripts. Improve your coding. "Include_onces" in smarty is no bug!! Norbert

« previous php.smarty.general (#4221) next »