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

From: Date: Thu, 16 May 2002 15:14:35 +0000
Subject: Re: [SMARTY] Re: I found a BUG in Smarty!
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4233@lists.php.net to get a copy of this message
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

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