/* Smarty 设置 */
include "Smarty/libs/Smarty.class.php";
$smarty = new Smarty();  //建立smarty实例对象$smarty
$smarty->template_dir = "./tpl/"; //设置模板目录
$smarty->compile_dir = "./templates_c/";  //设置编译目录
$smarty->config_dir = "./configs/";
$smarty->cache_dir = "./cache/";
$smarty->caching = 1;$smarty->left_delimiter = "<{"; 
$smarty->right_delimiter = "}>";
$smarty->caching = false;
/* end */以上是我的Smarty设置为什么在cache文件夹里面生成很多类似于wrtA706.tmp的文件啊?
在templates_c文件夹里面有时也有不过没有cache文件夹里面的多!
我已经把cache文件夹的权限放到最大了!
我把Smarty的cache设为false,文件还是会生成,真是郁闷!