torrent list cancel join category

This commit is contained in:
xiaomlove
2023-07-06 03:23:28 +08:00
parent 792632306e
commit bbce67a612
9 changed files with 67 additions and 10 deletions

View File

@@ -47,11 +47,11 @@ class Plugin
continue;
}
$plugin = new $className;
call_user_func([$plugin, 'boot']);
$pluginIdName = "$className::ID";
if (defined($pluginIdName)) {
self::$plugins[constant($pluginIdName)] = $plugin;
}
call_user_func([$plugin, 'boot']);
}
}
}