![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
laravel
小白+1
这个作者很懒,什么都没留下…
展开
-
Laravel 创建公共磁盘(软链接)
windows/mac命令行/终端 cd到目标文件夹php artisan storage:linklinuxcd到目标文件夹ln -s /mnt/www/wwwroot/xxx/storage/app/public/ /mnt/www/wwwroot/xxx/public/storage/mnt/www/wwwroot/xxx为目标绝对路径linux上创建成功时,ls查看/pu...原创 2019-02-20 15:51:38 · 816 阅读 · 0 评论 -
Laravel继承模版数据来源,base.blade.php数据来源
Laravel继承模版数据来源,base.blade.php数据来源在/app/Providers/AppServiceProvider.php文件中的boot方法public function boot() { View()->composer(['base'],function($view){ $message = Message::f...原创 2019-02-20 16:31:39 · 296 阅读 · 0 评论 -
Laravel部署服务器只能访问首页(nginx)
Laravel部署服务器只能访问首页Linux服务器(1)部署上线laravel项目,运行路径为/public路径(2)修改配置文件或添加伪静态         1、修改配置文件在server里添加代码server{ ........ location /原创 2019-02-20 16:46:57 · 2087 阅读 · 0 评论