write('/', 'index', 'index'); $router->write('/system/hotline', 'hotline', 'index'); $router->write('/system/graph', 'graph', 'index'); $router->write('/account/initialization', 'account', 'initialization', 'PUT'); $router->write('/account/vk/connect', 'account', 'connect'); $router->write('/account/panel', 'account', 'panel'); // Инициализация ядра $core = new core(namespace: __NAMESPACE__, router: $router); // Обработка запроса echo $core->start();