fixed storage path

This commit is contained in:
Denis Duliçi
2023-08-24 11:46:16 +03:00
parent 4d7aca4c9d
commit aa1251a1c6
7 changed files with 14 additions and 7 deletions

View File

@ -5,6 +5,7 @@ namespace App\Jobs\Install;
use App\Abstracts\Job;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\Storage;
class CopyFiles extends Job
{
@ -35,7 +36,7 @@ class CopyFiles extends Job
throw new \Exception(trans('modules.errors.file_copy', ['module' => $this->alias]));
}
$source = storage_path('app/temp/' . $this->path);
$source = Storage::path('app/temp/' . $this->path);
$destination = $this->getDestination($source);