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

+17 -13
View File
@@ -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);