Laravel5.4 +Nginx
文章平均质量分 77
潇潇雨木
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Laravel相关函数
有关Request: use Illuminate\Http\Request; Request $request $request->ajax(); // 判断是否为ajax请求 Request::segment(1) == 'search'; // 获取uri的一部分(不太确定下标是从0还是1开始的),判断uri是不是以search开头 Request::is('searc原创 2017-09-01 17:32:23 · 286 阅读 · 0 评论 -
Laravel5.4 下nginx配置
一、配置nginx.conf文件(一定要配置本机的hosts文件,否则也不能路由) # power by www.phpStudy.net #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #err原创 2017-09-01 17:33:23 · 2737 阅读 · 0 评论
分享