Re: [SMARTY] How can Smarty be updated ?
| From: | (Markku Niskanen) | Date: | Tue, 04 May 2004 11:45:32 +0000 |
| Subject: | Re: [SMARTY] How can Smarty be updated ? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11350@lists.php.net to get a copy of this message | ||
>how can I update the Smarty Template to a newer Version ?
This is how I do it in Linux/Unix.
I have started my Smartying uncompressing the package
to a new directtory
tar -zxf Smarty-2.5.0.tar.gz
and then creating a soft link (called 'Smarty') to the directory
ln -s Smarty-2.5.0 Smarty
Now I have access to the directory by using name "Smarty".
When I upgrade to a newer version I simply uncompress the
new version and repeat the action:
tar -zxf Smarty-3.2.0.tar.gz
ln -s Smarty-3.2.0 Smarty
and clean the templates_c and cache directories. If, for some
reason, version 3.2.0 proves to create problems it is very simple
to revert back to the original, working version:
ln -s Smarty-2.5.0 Smarty
Oh, version 3.2.0 has not yet been published, if somebody should
wonder about the version number. I simply do not wish this message
get outdated too soon :)
Markku