cvs: smarty /libs Smarty_Compiler.class.php

From: Date: Fri, 09 May 2003 14:18:28 +0000
Subject: cvs: smarty /libs Smarty_Compiler.class.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-599@lists.php.net to get a copy of this message
messju Fri May 9 10:18:28 2003 EDT Modified files: /smarty/libs Smarty_Compiler.class.php Log: fixed quoting in _compile_include_php Index: smarty/libs/Smarty_Compiler.class.php diff -u smarty/libs/Smarty_Compiler.class.php:1.227 smarty/libs/Smarty_Compiler.class.php:1.228 --- smarty/libs/Smarty_Compiler.class.php:1.227 Fri May 9 03:36:27 2003 +++ smarty/libs/Smarty_Compiler.class.php Fri May 9 10:18:28 2003 @@ -39,7 +39,7 @@ * @package Smarty */ -/* $Id: Smarty_Compiler.class.php,v 1.227 2003/05/09 07:36:27 messju Exp $ */ +/* $Id: Smarty_Compiler.class.php,v 1.228 2003/05/09 14:18:28 messju Exp $ */ /** * Template compiling class * @package Smarty @@ -845,7 +845,7 @@ } $output = - "<?php \$_params = array('smarty_file' => '" . $this->_dequote($attrs['file']) . "', 'smarty_assign' => '$assign_var', 'smarty_once' => $once_var, 'smarty_include_vars' => array(".implode(',', (array)$arg_list).")); \$this->_execute_core_function('smarty_include_php', \$_params); ?>"; + "<?php \$_params = array('smarty_file' => " . $attrs['file'] . ", 'smarty_assign' => '$assign_var', 'smarty_once' => $once_var, 'smarty_include_vars' => array(".implode(',', (array)$arg_list).")); \$this->_execute_core_function('smarty_include_php', \$_params); ?>"; return $output; }

« previous php.smarty.cvs (#599) next »