wip
This commit is contained in:
@@ -61,7 +61,7 @@ class DownloadCardTransaction extends Action
|
||||
return ActionResponse::danger($data->message);
|
||||
}
|
||||
|
||||
$unique_folder_name = Str::snake($model->created_at->toDateTimeString());
|
||||
$unique_folder_name = Str::snake(str_replace(':', '-', $model->created_at->toDateTimeString()));
|
||||
$dir = public_path("files/{$unique_folder_name}");
|
||||
|
||||
File::makeDirectory($dir, 0777, true, true);
|
||||
|
||||
Reference in New Issue
Block a user