Re: [SMARTY] smarty version
| From: | Travis Low | Date: | Thu, 27 Jun 2002 05:24:10 +0000 |
| Subject: | Re: [SMARTY] smarty version | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5052@lists.php.net to get a copy of this message | ||
G'day mate, and thanks. I did see the $_version variable in Smarty.class.php, but I'd rather not have to assign it myself. Therefore, I second your request. :-)
cheers,
Travis
Robert Amos wrote:
easiest way I can see: $smarty = new Smarty; $smarty->assign("smarty_version", $smarty->_version); perhaps Monte could make {$smarty.version} available? -bok On 27/6/02 2:58 PM, Travis Low banged a keyboard and produced the following weird but readable email:-- Travis Low <mailto:travis@dawnstar.org> <http://dawnstar.org/travis>What's the best way to detect the smarty version in the template? I did RTFM, but I didn't see it. And the mailing list search is down. cheers, Travis