随笔分类 -  one thinkphp

摘要:http://www.5idev.com/thinkphp 阅读全文
posted @ 2015-11-12 17:14 麦田守望者~ 阅读(141) 评论(0) 推荐(0) 编辑
摘要:把foreach 循环改成volist 就可以重置循环所以的数据。 阅读全文
posted @ 2015-10-22 16:09 麦田守望者~ 阅读(230) 评论(0) 推荐(0) 编辑
摘要:thinkphp _STORAGE_WRITE_ERROR_:./Runtime/Cache/Home/xxxx.php这一种报错一般是在linux 才会出现的错误,因为是权限问题。把Home文件加上777权限。chmod 777 Home是缓存文件没有加权限。因为每次执行一个./php文件的时候,... 阅读全文
posted @ 2015-08-31 11:16 麦田守望者~ 阅读(945) 评论(0) 推荐(0) 编辑
摘要:Options +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1... 阅读全文
posted @ 2015-08-24 10:57 麦田守望者~ 阅读(184) 评论(0) 推荐(0) 编辑
摘要:server { listen 80; server_name XXXX.funova.net XXX.funova.com; root /opt/newgm; index index.php; locatio... 阅读全文
posted @ 2015-07-27 17:26 麦田守望者~ 阅读(394) 评论(0) 推荐(0) 编辑
摘要:打开Nginx的配置文件 /usr/local/nginx/conf/nginx.conf 一般是在这个路径,根据你的安装路径可能有所变化。如果你配置了vhost,而且只需要你这一个vhost支持pathinfo的话,可以直接打开你的vhost的配置文件。找到类似如下代码(不同版本的nginx可能稍... 阅读全文
posted @ 2015-07-23 18:44 麦田守望者~ 阅读(205) 评论(0) 推荐(0) 编辑
摘要:首先建立一个入口IndexController.php文件request(); if($data && is_array($data)){ $content = '123'; //回复内容,回复不同类型消息,内容的格式有所不同 $type ... 阅读全文
posted @ 2015-07-15 20:37 麦田守望者~ 阅读(1711) 评论(0) 推荐(0) 编辑
摘要:http://document.onethink.cn/manual_1_0.html#onethink_usehelp_config官网:http://www.onethink.cn/topic/3128.html 阅读全文
posted @ 2015-06-23 15:08 麦田守望者~ 阅读(200) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示