more storage fixes

This commit is contained in:
Denis Duliçi
2023-08-24 15:44:10 +03:00
parent 0b45e4ed70
commit 02881945f8
12 changed files with 76 additions and 28 deletions

View File

@ -4,7 +4,6 @@ namespace App\Jobs\Install;
use App\Abstracts\Job;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Storage;
use ZipArchive;
class UnzipFile extends Job
@ -36,7 +35,7 @@ class UnzipFile extends Job
throw new \Exception(trans('modules.errors.unzip', ['module' => $this->alias]));
}
$temp_path = Storage::path('app/temp/' . $this->path);
$temp_path = storage_path('app/temp/' . $this->path);
$file = $temp_path . '/upload.zip';