summaryrefslogtreecommitdiff
path: root/pages/api/browser.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/api/browser.php')
-rw-r--r--pages/api/browser.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/pages/api/browser.php b/pages/api/browser.php
new file mode 100644
index 0000000..657b2a7
--- /dev/null
+++ b/pages/api/browser.php
@@ -0,0 +1,4 @@
+<?php
+
+header("Content-Type: application/json");
+die(json_encode(get_browser(), JSON_PRETTY_PRINT)); \ No newline at end of file