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

From: Date: Thu, 16 May 2002 13:06:57 +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-4222@lists.php.net to get a copy of this message
You wouldn¹t want to change them, they're there for a reason, its a performance issue. personally id rather they stay as include_once, perhaps as Ivo suggested on the dev list, there should be an extra attribute if you want to use include() or something.. -bok On 16/5/02 10:56 PM, Johann banged a keyboard and produced the following weird but readable email: > 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 >

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