2009-04-20 忘れがちのSmartyの使い方 Smarty 静的ファイルをインクルートする <{include file="file:"|cat:$smarty.const.WWW_ROOT|cat:"/pathto/include.inc"}> 現在のページのSCRIPT_NAMEを取る <{$smarty.server.SCRIPT_NAME}>