标签:conf name contents disk nat color http laravel sys
use Illuminate\Support\Facades\Storage; //建立目录 Storage::disk(‘public‘)->makeDirectory(date(‘Y-m‘)); //存文件 public为config/filesystems.php存的配置 $bool = Storage::disk(‘public‘)->put($filename, file_get_contents($realPath));
可参考:https://d.laravel-china.org/docs/5.5/filesystem
标签:conf name contents disk nat color http laravel sys
原文地址:http://www.cnblogs.com/fps2tao/p/8007383.html