Re: [SMARTY-DEV] SMARTY_COMPILE_DIR_SEP
| From: | Monte Ohrt | Date: | Wed, 25 Jun 2003 21:50:51 +0000 |
| Subject: | Re: [SMARTY-DEV] SMARTY_COMPILE_DIR_SEP | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1700@lists.php.net to get a copy of this message | ||
Got it, fixed.
Monte
On Wed, 2003-06-25 at 16:42, Nagger wrote:
> 1.
> the constant 'SMARTY_COMPILE_DIR_SEP' is defined in 'fetch( )'.
> so php shows a notice if you twice use 'fetch( )' :(
>
> 2.
> SMARTY_COMPILE_DIR_SEP is also used in 'smarty_core_assemble_auto_filename'.
> if one use 'config_load( )' before 'fetch( )' the constant is not defined.
> :(
>
> I would suggest to change SMARTY_COMPILE_DIR_SEP into a local variable in
> both functions.
>
> bye...
> Nagger
>
>