tg main page

This commit is contained in:
2025-01-03 18:07:07 +03:00
parent 7e9d2cf5a7
commit 6462a98e6c
108 changed files with 16234 additions and 1 deletions

View File

@ -1,3 +1,11 @@
<?php
include KERNEL_APP_MODULES_DIR . "/tgbot/routs/tgbot.php";
use kernel\App;
use kernel\CgRouteCollector;
include KERNEL_APP_MODULES_DIR . "/tgbot/routs/tgbot.php";
App::$collector->group(["prefix" => "miniapp"], function (CGRouteCollector $router) {
App::$collector->get('/', [\app\modules\tgbot\controllers\TgMainController::class, 'actionMain']);
});