summaryrefslogtreecommitdiff
path: root/localwebsite/handlers
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-05-26 01:18:00 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-05-26 01:18:00 +0300
commite20f0ef7c91e7862150f362fb2718cf5f5f6c909 (patch)
tree1c08ab3a0ed107662140ba71c66b2aaab1ac0197 /localwebsite/handlers
parent1a75ff34949da23d23452872c375b1b5cd3dca9d (diff)
add /debug route
Diffstat (limited to 'localwebsite/handlers')
-rw-r--r--localwebsite/handlers/MiscHandler.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/localwebsite/handlers/MiscHandler.php b/localwebsite/handlers/MiscHandler.php
index 772cd9b..1230b35 100644
--- a/localwebsite/handlers/MiscHandler.php
+++ b/localwebsite/handlers/MiscHandler.php
@@ -79,4 +79,8 @@ class MiscHandler extends RequestHandler
$this->tpl->render_page('cams.twig');
}
+ public function GET_debug() {
+ print_r($_SERVER);
+ }
+
} \ No newline at end of file