commit ce7473743f9cf6964384e47749dac1dccf614c25
parent 706c386f6d143f19474ce5c1b5c118c1876c7393
Author: MoiBaguette <[email protected]>
Date: Tue, 6 Jun 2023 13:58:46 +0200
start of key
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/index.php b/index.php
@@ -16,7 +16,8 @@ $router->addRoute(["POST"], "/", function($vars){
});
$router->addRoute(["GET"], "/dashboard", "views/dashboard.php");
$router->addRoute(["GET"], "/api/:data", function($vars) {
- var_dump($vars);
+ $key = new Key;
+ $key->myfunction($vars);
});
$router->route();
\ No newline at end of file