Re: [SMARTY] Re: I found a BUG in Smarty!
| From: | Johann | Date: | Thu, 16 May 2002 13:22:08 +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-4226@lists.php.net to get a copy of this message | ||
On 16 maja 2002 at 15:07:51
Norbert Röcher <norbert.roecher@t-online.de>
wrote:
> This cannot be changed, since a multiple include of php-files will
> cause errors of redefined functions in most scripts. Improve your
> coding. "Include_onces" in smarty is no bug!!
What should I improve? My code is correct. Is it bad to use many
templates which launch other templates? No. Is it bad to separate php
code from template to external file? No.
Can you show me any working example of posibly errors when you change
those 2 lines from include_once() to include()?
--
Johann