📜  在 laravel 8 中创建自动图像路径文件夹 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:29.645000             🧑  作者: Mango

代码示例1
if (! File::exists("uploads/properties")) {
    File::makeDirectory("uploads/properties");
}
if (! File::exists(public_path()."uploads/properties")) {
    File::makeDirectory(public_path()."uploads/properties");
}