{include} problem
| From: | Steve | Date: | Tue, 18 Feb 2003 04:52:06 +0000 |
| Subject: | {include} problem | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7810@lists.php.net to get a copy of this message | ||
This worked before I updated to latest cvs:
{include file=$template."/".$page.".tpl"}
$template and $page are set and they work. This is broken after updating to
latest cvs.
Error is:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in
/var/www/html/bw/templates_c/%%157/%%1572547627/index.tpl.php on line 145
Applicable line is complied template is:
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include($this->_tpl_vars['template']."."/".".$this->_tpl_vars
['page'].".".tpl"", array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
Thanks,
Steve