Skip to content

Commit

Permalink
Update AdminUploadCrop.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hondilla authored Nov 3, 2022
1 parent e90f785 commit 8513137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Admin/Accions/AdminUploadCrop.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function render()

private function uploadFile($disk, $file)
{
$path = '/uploads/'.date('Ymd');
$path = '/' . config('editora-admin.uploads-storage-dir', 'uploads') . '/' . date('Ymd');
$fileName = $file->getClientOriginalName();
$fileName = clean_file_name($fileName);
$filePath = $path.'/'.$fileName;
Expand Down

0 comments on commit 8513137

Please sign in to comment.