server test version

This commit is contained in:
2025-01-03 02:11:09 +03:00
parent 093b04c2c9
commit 74efe9e01e
101 changed files with 2871 additions and 117 deletions

View File

@ -0,0 +1,15 @@
<?php
use kernel\App;
use kernel\CgRouteCollector;
use Phroute\Phroute\RouteCollector;
include KERNEL_APP_MODULES_DIR . "/card/routs/card.php";
App::$collector->group(["prefix" => "admin"], function (CgRouteCollector $router) {
App::$collector->group(["before" => "auth"], function (RouteCollector $router) {
App::$collector->group(["prefix" => "card"], function (CGRouteCollector $router) {
// App::$collector->get('/test', [\app\modules\card\controllers\CardController::class, 'actionTestCard']);
});
});
});