This commit is contained in:
salam committed 2026-07-12 20:54:06 +02:00
1 parent 5f4a788927
commit f4f01a58fa
13 files changed
+239 -137

No files matched your search

+3 -2
View File
@@ -2,6 +2,7 @@
namespace App\Utilities;
use App\Console\Commands\Grapper\Sofascore;
use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;
use ZipArchive;
@@ -11,9 +12,9 @@ class ZipFolder
public static function create(string $day)
{
$zipFilePath = storage_path('sofascore_data') . '/' . $day . '.zip';
$zipFilePath = Sofascore::$storage . '/' . $day . '.zip';
$path = storage_path('sofascore_data') . $day;
$path = Sofascore::$storage . '/' . $day;
$zip = new ZipArchive();