Smartyとは PHPで実装されているテンプレートクラスライブラリ。 コンパイル済みのテンプレートをキャッシュしておき、 2回目以降はキャッシュを利用するため高速な処理が可能。 ▲ ▼ XREAへのインストール 以下のような構成でファイルを配置する。パーミッション等はマニュアルを参照。 smarty/ +cache/ +configs/ +libs/ +core/ +plugins/ +Smarty.class.php +Smarty_Compiler.class.php +log/ +templates/ +test1.tpl +test2.tpl +... +templates_c/ +test1.php +test2.php +... ▲ ▼ エラーの回避 デフォルトの設定のまま設置した場合、以下のようなエラーが出て動作しない。 Warning: Smarty error: pro