Re: [SMARTY] Re: I found a BUG in Smarty!
| From: | Monte Ohrt | 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:-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.On Thu, 16 May 2002, Ivo Jansch wrote:Hi, Monte Ohrt wrote:Or {include_php file=foo.php once=yes}{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?-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