Re: [SMARTY] smarty version
| From: | Robert Amos | Date: | Thu, 27 Jun 2002 05:17:14 +0000 |
| Subject: | Re: [SMARTY] smarty version | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5051@lists.php.net to get a copy of this message | ||
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:
> 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