2009年5月19日

\ \t 什么意思 ?

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1$content = 2""; 17 include('fun.inc.php'); 18 writeover("global.php",$content); 19?> 20 ... 阅读全文

posted @ 2009-05-19 14:20 5201314 阅读(908) 评论(0) 推荐(0) 编辑

Smarty配置文件!

摘要: config_dir="Smarty/Config_File.class.php"; // 目录变量 $smarty->caching=false; //是否使用缓存,项目在调试期间,不建议启用缓存 $smarty->compile_id = "$tempname";// $smarty->template_dir = "./templates/$tempname"; //设置模板目录 ... 阅读全文

posted @ 2009-05-19 12:22 5201314 阅读(476) 评论(0) 推荐(0) 编辑

关于smarty中的$cache_id及$compile_id

摘要: 首先引用Smarty官方网站上的一段代码: You can also pass a $cache_id as an optional second parameter in case you want multiple caches for the given template. ... 阅读全文

posted @ 2009-05-19 12:10 5201314 阅读(559) 评论(0) 推荐(0) 编辑

导航