<? require_once './smarty/Smarty.class.php'; // Smarty classを読込む $smarty = new Smarty(); // Smarty classの生成 $smarty->template_dir = './smarty/templates'; $smarty->compile_dir = './smarty/templates_c'; $smarty->cache_dir = './smarty/cache'; $smarty->config_dir = './smarty/configs'; $smarty->security = true; $smarty->caching = 1; 以下続く