bd 2.0
This commit is contained in:
1 parent
a0458705fb
commit
09b5167a1a
7 files changed
+266
-3
No files matched your search
@@ -24,6 +24,7 @@ $router->get("/form-res/{id}", [\itguild\forms\app\controllers\FormResController
|
||||
$router->get("/input-type/{id}", [\itguild\forms\app\controllers\InputTypeController::class, "indexAction"]);
|
||||
$router->get("/input-value/{id}", [\itguild\forms\app\controllers\InputValueController::class, "indexAction"]);
|
||||
$router->post("/form-save/{id}", [\itguild\forms\app\controllers\FormController::class, "saveAction"]);
|
||||
$router->get("/form-load/{id}", [\itguild\forms\app\controllers\FormController::class, "result"]);
|
||||
$dispatcher = new Phroute\Phroute\Dispatcher($router->getData());
|
||||
|
||||
$response = $dispatcher->dispatch($_SERVER['REQUEST_METHOD'], parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
|
||||
|
||||
Reference in new issue
Block a user