摘要: /** * 清除模版缓存 不删除cache目录 */ public function clear_sys_cache() { Cache::clear(); $this->success( '清除成功', 'index/index' ); } /** * 清除模版缓存 不删除 temp目录 */ public function clear_temp... 阅读全文
posted @ 2018-03-12 16:09 Mr丶Cheng 阅读(4166) 评论(0) 推荐(0)
摘要: 使用sublime text的同学一般会装package control这个插件,这个插件是管理插件的功能,先安装它,再安装其他插件就方便了。 console安装命令: import urllib2,os;pf='Package Control.sublime-package';ipp=sublim 阅读全文
posted @ 2018-03-09 15:52 Mr丶Cheng 阅读(942) 评论(0) 推荐(0)
摘要: 1.phpstudy开启xdebug拓展2.php.in添加[XDebug]xdebug.profiler_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"xdebug.trace_output_dir="D:\phpStudy\PHPTutorial\ 阅读全文
posted @ 2018-03-09 15:49 Mr丶Cheng 阅读(254) 评论(0) 推荐(0)
摘要: { "folders": [ { //你项目的相对路径 "path": "." } ], "settings": { //这里是项目的设置,sublime会自动载入这里的设置(你也可以在这里填写其他插件的配置) "xdebug": { ... 阅读全文
posted @ 2018-03-09 15:47 Mr丶Cheng 阅读(255) 评论(0) 推荐(0)
摘要: 加载Rewrite模块: 在conf目录下httpd.conf中找到LoadModule rewrite_module modules/mod_rewrite.so去掉前边的#号 在apache配置文件里边把AllowOverride 改成“All”(默认为“None”) 首先新建一个.htaces 阅读全文
posted @ 2018-03-08 09:31 Mr丶Cheng 阅读(189) 评论(0) 推荐(0)