只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-09-08 21:57 水飝飞天 阅读(2) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-06-29 16:57 水飝飞天 阅读(1) 评论(0) 推荐(0) 编辑
摘要: certmgr.exe -add "证书.cer" -s -r localMachine Disallowed 导入授信机构 certmgr -add "证书.cer" -s -r currentUser root 其中: 证书.cer是证书文件; localMachine是指本地计算机(相对的是当 阅读全文
posted @ 2018-06-11 15:28 水飝飞天 阅读(250) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-06-10 22:01 水飝飞天 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 开机自启动nginx,php-fpm(其他服务类似) centos 7以上是用Systemd进行系统初始化的,Systemd 是 Linux 系统中最新的初始化系统(init),它主要的设计目标是克服 sysvinit 固有的缺点,提高系统的启动速度。 Systemd服务文件以.service结尾, 阅读全文
posted @ 2018-04-14 11:38 水飝飞天 阅读(274) 评论(0) 推荐(0) 编辑
摘要: $nodes = Db::table('account')->orderBy('sort', 'asc')->orderBy('id' ,'asc')->get()->map(function ($value) { return (array)$value; })->toArray(); 阅读全文
posted @ 2018-03-17 18:14 水飝飞天 阅读(4725) 评论(0) 推荐(0) 编辑
摘要: php_memcache.dll扩展下载地址:http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/ 下载注意事项:选择匹配自己环境的版本以及线程安全版本。 查看自己php版本:phpinfo(); 主要查看compiler 和 阅读全文
posted @ 2017-07-30 17:25 水飝飞天 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 说明:在chrome下面,编辑文章插入的图片,点击到图片上面,没有菜单显示。 报错: 原因:这个是tinymce的bug,详情请看链接:wordpress论坛,git上面的tinymce的issues 解决思路:1)chrome下面编辑文章图片的时候,选中图片,左右稍微拖动,菜单就会出现。(这是最直 阅读全文
posted @ 2017-06-12 12:26 水飝飞天 阅读(4779) 评论(0) 推荐(0) 编辑
摘要: laravel 5.0 版本下,修改pp/Exceptions/Handler.phppublic function render($request, Exception $e) { if ($e instanceof ModelNotFoundException) { $e = new NotFo 阅读全文
posted @ 2017-05-26 16:34 水飝飞天 阅读(3258) 评论(0) 推荐(0) 编辑
摘要: 方法 1.修改一下文件/vendor/laravel/framework/src/Illuminate/Foundation/Auth/RedirectsUsers.php 修改内容如下: 没有的加入下面方法,引入use Illuminate\Support\Facades\URL,否则会找不到UR 阅读全文
posted @ 2017-05-24 15:56 水飝飞天 阅读(2691) 评论(0) 推荐(0) 编辑