cvs: smarty /libs Smarty_Compiler.class.php
| From: | Messju Mohr | Date: | Fri, 09 May 2003 07:36:27 +0000 |
| Subject: | cvs: smarty /libs Smarty_Compiler.class.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-598@lists.php.net to get a copy of this message | ||
messju Fri May 9 03:36:27 2003 EDT
Modified files:
/smarty/libs Smarty_Compiler.class.php
Log:
fixed quoting of "file"-parameter in _compile_include_tag()
Index: smarty/libs/Smarty_Compiler.class.php
diff -u smarty/libs/Smarty_Compiler.class.php:1.226 smarty/libs/Smarty_Compiler.class.php:1.227
--- smarty/libs/Smarty_Compiler.class.php:1.226 Thu May 8 16:21:16 2003
+++ smarty/libs/Smarty_Compiler.class.php Fri May 9 03:36:27 2003
@@ -39,7 +39,7 @@
* @package Smarty
*/
-/* $Id: Smarty_Compiler.class.php,v 1.226 2003/05/08 20:21:16 mohrt Exp $ */
+/* $Id: Smarty_Compiler.class.php,v 1.227 2003/05/09 07:36:27 messju Exp $ */
/**
* Template compiling class
* @package Smarty
@@ -804,7 +804,7 @@
$output .=
"\$_smarty_tpl_vars = \$this->_tpl_vars;\n" .
- "\$_params = array('smarty_include_tpl_file' => '" .
$this->_dequote($include_file) . "', 'smarty_include_vars' =>
array(".implode(',', (array)$arg_list)."));\n" .
+ "\$_params = array('smarty_include_tpl_file' => " . $include_file .
", 'smarty_include_vars' => array(".implode(',',
(array)$arg_list)."));\n" .
"\$this->_execute_core_function('smarty_include', \$_params);\n"
.
"\$this->_tpl_vars = \$_smarty_tpl_vars;\n" .
"unset(\$_smarty_tpl_vars);\n";