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

From: Date: Thu, 16 May 2002 16:17:55 +0000
Subject: Re: [SMARTY] Re: I found a BUG in Smarty!
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4234@lists.php.net to get a copy of this message
It is updated in CVS. once=false will force include_php to include the file every time it is called. 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/
Some people try to achieve immortality through their work, others through their children. I hope to achieve immortality by not dying. -- Woody Allen
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

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