RE: [SMARTY] Re: I found a BUG in Smarty!
| From: | Gary Loescher | Date: | Thu, 16 May 2002 16:19:00 +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-4235@lists.php.net to get a copy of this message | ||
Craig and Monte's method gets my vote, FWIW. I wouldn't like to change
all of my current templates.
Gary
Craig wrote:
>
>include_once should be the default, as it is today
>{include_php file=foo.php}
>to repeat the include (as Monte suggested)
>{include_php file=foo.php once=flase}
>this way, current templates do not need to be changed.
>
>On Thursday 16 May 2002 11:03 am, Andrei Zmievski wrote:
>> On Thu, 16 May 2002, Ivo Jansch wrote:
>> > Hi,
>> >
>> > Monte Ohrt wrote:
>> > >{include_php file="test.php" include_once=false}
>> >
>> > Php has include and include_once, so maybe Smarty could follow the same
>> > logic and use include_php and include_once_php?
>>
>> Or {include_php file=foo.php once=yes}
>>
>> -Andrei
>> http://www.gravitonic.com/
>>