Re: [SMARTY] smarty variables used in {include...}

From: Date: Wed, 19 Feb 2003 16:28:09 +0000
Subject: Re: [SMARTY] smarty variables used in {include...}
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7899@lists.php.net to get a copy of this message
A patch has been committed to CVS to fix this. Now only "$foo" and "$foo[...]" syntax is recognized in quoted strings. Monte On Tue, 2003-02-18 at 20:56, Tom Rochester wrote: > Hi, > > I was previously using Smarty 4.3.0 and have a standard 'page' that I > want to include different modules in, which previously worked like this: > > {include file="$inline.inline.tpl"} > > when I upgrade to the latest version of Smarty 4.4.* I get the following > error: > > > *Warning*: Smarty error: unable to read template resource: ".inline.tpl" > in */var/www/Smarty/Smarty.class.php* on line *999* > > (inline _is_ being assigned) > > I obviously cannot use variables in this manner anymore. Is there any > way of fixing this problem without rewriting all of my scripts? > > Thanks, > > Tom -- Monte Ohrt <monte@ispi.net>

« previous php.smarty.general (#7899) next »