04 2017 档案

摘要:1.在database.conf 中配置表前缀“prefix” => "my_";因为用习惯了laravel,在操作数据表的时候,我都是DB::table()用的table属性,然而执行的时候,“can not found table ...” what??? 数据库居然不带前缀,说好的配置好就不好 阅读全文
posted @ 2017-04-14 14:55 elliot.noob 阅读(348) 评论(0) 推荐(0)
摘要:1.使用yum install 安装程序的时候,出现Loaded plugins: fastestmirror 这是yum插件出现问题,既然出现问题,就不用插件 sudo vi /etc/yum/pluginconf.d/fastestmirror.conf 将enabled = 1 改为 0 禁用 阅读全文
posted @ 2017-04-10 16:29 elliot.noob 阅读(244) 评论(0) 推荐(0)
摘要:1.利用TP5框架如何生成验证吗? 利用TP5框架生成验证码需要安装captcha扩展,可以利用composer来安装: composer require topthink/think-captcha 安装完成之后会呈现如上的目录。captcha扩展安装完成之后,就可以进行下一步操作 配置comfi 阅读全文
posted @ 2017-04-06 10:07 elliot.noob 阅读(20468) 评论(0) 推荐(0)