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

From: Date: Thu, 16 May 2002 12:27:34 +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-4217@lists.php.net to get a copy of this message
lines 1098 and 1106 of Smarty.class.php: include_once($_smarty_php_resource); php will only include the .php file ONCE -bok On 16/5/02 10:20 PM, Johann banged a keyboard and produced the following weird but readable email: > On 16 maja 2002 at 14:09:04 > Norbert Röcher <norbert.roecher@t-online.de> > wrote: > >> If the value gets lost, the script would print out "INSIDE3:". Does >> it or doesn't it? > > Only first value is printed out. It looks like the file was > included only once and never more. Not only values are lost. The > script is lost also. It run only once. RESULTS are: > > INSIDE3: A > INSIDE2: A > INSIDE1: A > > INSIDE2: B > INSIDE1: B > > INSIDE2: C > INSIDE1: C > > -- > Johann >

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