wip
This commit is contained in:
1 parent
86115ac9e8
commit
a85ac159de
3 files changed
+31
-36
No files matched your search
@@ -26,7 +26,7 @@ class Sofascore
|
||||
|
||||
public static string $zipfile;
|
||||
|
||||
public static string $excel_name;
|
||||
public static string $folder;
|
||||
|
||||
public static string $useragent = '4';
|
||||
|
||||
@@ -101,8 +101,8 @@ class Sofascore
|
||||
|
||||
switch ($task->id) {
|
||||
case 1:
|
||||
self::$storage = $sofascore_data . $storage_name . '/' . Carbon::now()->subDays(3)->format('Y-m-d');
|
||||
self::$zipfile = $sofascore_data . $storage_name . '/' . Carbon::now()->subDays(3)->format('Y-m-d') . '.zip';
|
||||
self::$storage = $sofascore_data . $storage_name;
|
||||
self::$folder = Carbon::now()->subDays(3)->format('Y-m-d');
|
||||
break;
|
||||
case 2:
|
||||
self::$storage = $sofascore_data . $storage_name . '/' . $task->day_from;
|
||||
@@ -122,8 +122,5 @@ class Sofascore
|
||||
self::$zipfile = $sofascore_data . $storage_name . '/archive.zip';
|
||||
break;
|
||||
}
|
||||
|
||||
if ($debug)
|
||||
Notice::note("\nStore:\t" . Sofascore::$storage . "\nZip:\t" . Sofascore::$zipfile, 'c');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user