Re: [SMARTY] Re: I found a BUG in Smarty!
| From: | Johann | Date: | Thu, 16 May 2002 13:25:51 +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-4227@lists.php.net to get a copy of this message | ||
On 16 maja 2002 at 15:22:09
Robert Amos <bok@ausmac.net>
wrote:
> If you accidentally call {include_php} on the one file more than
> once then if you use include() it will include it multiple times,
> and reparse it everytime. If you do that in a loop its definetly a
> performance issue, decent coding practices should avoid that though.
I have shown you a working example of not working (but correct) code
with many templates which launch others and use separate files for
their php code.
But can you show me any working example of posibly errors when you
change those 2 lines from include_once() to include()?
--
Johann