还可以使用storage_path函数生成相对于storage目录的给定文件的绝对路径: $path = storage_path('app/file.txt'); 获取laravel项目的路径的内置帮助 ...
確定! 回上一頁