[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-dev
Subject:    Re: [SMARTY-DEV] SMARTY_COMPILE_DIR_SEP
From:       Monte Ohrt <monte () ispi ! net>
Date:       2003-06-25 21:50:51
[Download RAW message or body]

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
> 
> 


-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic