SMARTY_COMPILE_DIR_SEP
| From: | Nagger | Date: | Wed, 25 Jun 2003 21:42:14 +0000 |
| Subject: | SMARTY_COMPILE_DIR_SEP | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1699@lists.php.net to get a copy of this message | ||
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