mining checker
This commit is contained in:
@@ -11,6 +11,7 @@ use Desktop\DesktopState;
|
||||
use Desktop\SkinResolver;
|
||||
use Desktop\WidgetRegistry;
|
||||
use Desktop\WindowManager;
|
||||
use ModulesCore\ModuleRegistry;
|
||||
|
||||
final class App
|
||||
{
|
||||
@@ -26,7 +27,8 @@ final class App
|
||||
{
|
||||
$keycloakConfig = ConfigLoader::load($this->projectRoot, 'keycloak');
|
||||
$auth = new KeycloakAuth($keycloakConfig);
|
||||
$registry = new AppRegistry($this->projectRoot . '/config/apps.php');
|
||||
$moduleRegistry = new ModuleRegistry($this->projectRoot . '/modules');
|
||||
$registry = new AppRegistry($this->projectRoot . '/config/apps.php', $moduleRegistry->desktopApps());
|
||||
$widgetRegistry = new WidgetRegistry($this->projectRoot . '/config/widgets.php');
|
||||
$skins = SkinResolver::all();
|
||||
$isAuthenticated = isset($_SESSION['desktop_auth']) && is_array($_SESSION['desktop_auth']);
|
||||
|
||||
@@ -6,7 +6,7 @@ spl_autoload_register(static function (string $class): void {
|
||||
$prefixes = [
|
||||
'App\\' => __DIR__ . '/',
|
||||
'Desktop\\' => dirname(__DIR__) . '/Desktop/',
|
||||
'MiningChecker\\' => dirname(__DIR__) . '/MiningChecker/',
|
||||
'ModulesCore\\' => dirname(__DIR__) . '/ModulesCore/',
|
||||
];
|
||||
|
||||
foreach ($prefixes as $prefix => $baseDir) {
|
||||
|
||||
Reference in New Issue
Block a user