WindowsXP
ここからダウンロードして、解凍
ディレクトリ配下の"libs"フォルダを"Smarty"に変更
変更したディレクトリを"c/php5/includes"以下へ移動
templates、templates_c、configs、cacheを作成
サンプルソース"smarty_info.php"を作成
<?php
require_once("Smarty/Smarty.class.php");
$smarty = new Smarty;
echo "インストールしたSmartyのversionは{$smarty->_version}です";
?>
確認
最終更新:2010年05月29日 16:15