摘要: thinkphp3.2 3.2中取消了配置文件中的 'TMPL_STRIP_SPACE' 属性,所以我们先来修改:\ThinkPHP\Library\Think\Template.class.php 文件 找到compiler方法: /** * 编译模板文件内容 * @access protecte 阅读全文
posted @ 2016-02-14 14:18 思如雨 阅读(4305) 评论(0) 推荐(1) 编辑
摘要: #nginx日志切割脚本 #!/bin/bash #设置日志文件存放目录 logs_path="/home/www.xxx.com/wwwlogs/" #设置pid文件 pid_path="/usr/local/nginx/nginx.pid" #重命名日志文件 mv ${logs_path}hos 阅读全文
posted @ 2016-02-14 11:59 思如雨 阅读(6124) 评论(0) 推荐(0) 编辑