add /debug route
This commit is contained in:
parent
1a75ff3494
commit
e20f0ef7c9
@ -79,4 +79,8 @@ class MiscHandler extends RequestHandler
|
||||
$this->tpl->render_page('cams.twig');
|
||||
}
|
||||
|
||||
public function GET_debug() {
|
||||
print_r($_SERVER);
|
||||
}
|
||||
|
||||
}
|
@ -26,6 +26,7 @@ $router->add('sensors/', 'Misc sensors_page');
|
||||
$router->add('pump/', 'Misc pump_page');
|
||||
$router->add('phpinfo/', 'Misc phpinfo');
|
||||
$router->add('cams/', 'Misc cams');
|
||||
$router->add('debug/', 'Misc debug');
|
||||
|
||||
|
||||
$route = routerFind($router);
|
||||
|
Loading…
x
Reference in New Issue
Block a user