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

@ -6,7 +6,6 @@ use App\Abstracts\Job;
use App\Traits\SiteApi;
use App\Utilities\Info;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Storage;
class DownloadFile extends Job
{
@ -48,7 +47,7 @@ class DownloadFile extends Job
}
$path = 'temp-' . md5(mt_rand());
$temp_path = Storage::path('app/temp/' . $path);
$temp_path = storage_path('app/temp/' . $path);
$file_path = $temp_path . '/upload.zip';