wip
This commit is contained in:
1 parent
5f4a788927
commit
f4f01a58fa
13 files changed
+239
-137
No files matched your search
@@ -16,10 +16,14 @@ ini_set('magic_quotes_runtime', false);
|
||||
|
||||
class Sofascore
|
||||
{
|
||||
public static string $storage;
|
||||
|
||||
public static function switch()
|
||||
{
|
||||
$function = Nuh::$options['fun'];
|
||||
|
||||
self::$storage = storage_path('sofascore_data');
|
||||
|
||||
switch ($function) {
|
||||
case 1:
|
||||
PlayerPerSeason::run();
|
||||
@@ -28,23 +32,23 @@ class Sofascore
|
||||
SettingsToLocal::run();
|
||||
break;
|
||||
case 3:
|
||||
CreateZip::run();
|
||||
break;
|
||||
case 4:
|
||||
SendMail::run();
|
||||
break;
|
||||
case 5:
|
||||
DaysTournament::run();
|
||||
break;
|
||||
case 6:
|
||||
Grapper::load();
|
||||
break;
|
||||
case 7:
|
||||
TaskConfig::start();
|
||||
break;
|
||||
case 8:
|
||||
case 4:
|
||||
DaysTournament::run();
|
||||
break;
|
||||
case 5:
|
||||
Grapper::load();
|
||||
break;
|
||||
case 6:
|
||||
TaskConfig::end();
|
||||
break;
|
||||
case 7:
|
||||
CreateZip::run();
|
||||
break;
|
||||
case 8:
|
||||
SendMail::run();
|
||||
break;
|
||||
|
||||
default:
|
||||
Notice::note('id not valid', 'br', 1);
|
||||
|
||||
Reference in new issue
Block a user