1 // 文件路径:/phpcms/libs/classes/template_cache.class.php 42行
2 // 第四第五行是新增的
3 $content = $this->template_parse($content);
4 $arrStr  = array("  "," ","\t","\n","\r", "\r\n");
5 $content = str_replace($arrStr, '', $content);
6 $strlen  = file_put_contents($compiledtplfile, $content);

 

posted on 2016-02-18 17:53  二进制的猫  阅读(271)  评论(0编辑  收藏  举报