Re: [SMARTY] problem with config vars

From: Date: Sun, 06 Apr 2003 15:59:29 +0000
Subject: Re: [SMARTY] problem with config vars
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9154@lists.php.net to get a copy of this message
On Sun, 6 Apr 2003 07:43:41 +0000, Messju Mohr wrote: > require $smarty->_get_plugin_filepath('function', 'eval'); > smarty_function_eval(array('var'=>$str), $smarty)); > that's what smarty does if it encounters an eval. _get_plugin_filepath > is considered internal, so use it with care or require the eval-plugin > in another way. Hmm, I was thinking.... if I had a config var like so: var1 = "<img src=$THEME_PATHimages/bullet.jpg>" Should smarty replace the $var then? That would be logical to me? -- Tom Sommer, Denmark www.tsn.dk - www.dreamcoder.dk

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