smarty 路径用的相对路径,比如./templates 但还是出现syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 446) in C:\wamp\www\news\common\smarty\Smarty.class.php on line 1095求高手指教 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 $smarty->template_dir="./templates"$smarty->compile_dir="./templates_c"$smarty->cache_dir="./cache"; $smarty->config_dir = "Smarty/Config_File.class.php"; //目录变量 $smarty->caching = false; //是否使用缓存、项目在调用期间、建议不要打开 $smarty->template_dir = './templates/'.$smartytpl; //设置模板目录 $smarty->compile_dir = './templates_c/'; //设置编译目录 $smarty->cache_dir = './smarty_cache/'; //缓存文件 $smarty->template_dir = './templates/'.$smartytpl; //设置模板目录为什么要加.$smartytpl??还有那个是数字1还是字母l?? 为什么还要在模板目录里面加一个tpl的东西啊,很好奇,不知道是什么东西 php编译添加oci8没有报错,但是phpinfo信息里面找不到oci8相关 unlink 出现 Permission denied 错误,系统是windows xp 这段sql是什么意思?? 数组的预定义常量,怎么使用? mysql误更新 关于函数可选参数默认值的问题 一款基于PHP的HTTP服务器 擦,php100又被攻破了。。。 Mysql 查询最大一条记录 文件上传的控制问题 如何开发一个简单的个人网站 初学php 为什么提示我不对
$smarty->compile_dir="./templates_c"
$smarty->cache_dir="./cache";
$smarty->config_dir = "Smarty/Config_File.class.php"; //目录变量
$smarty->caching = false; //是否使用缓存、项目在调用期间、建议不要打开
$smarty->template_dir = './templates/'.$smartytpl; //设置模板目录
$smarty->compile_dir = './templates_c/'; //设置编译目录
$smarty->cache_dir = './smarty_cache/'; //缓存文件
为什么要加.$smartytpl??还有那个是数字1还是字母l??