wip
This commit is contained in:
1 parent
5f4a788927
commit
f4f01a58fa
13 files changed
+239
-137
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user