From bb920b117c33c8f78331aa1aea0470efece356a5 Mon Sep 17 00:00:00 2001
From: moderndevslulw
Date: Sat, 5 Jul 2025 20:38:32 +0500
Subject: feat: wiki shortcuts
---
public/index.php | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
(limited to 'public')
diff --git a/public/index.php b/public/index.php
index 149aa57..e3afcf7 100644
--- a/public/index.php
+++ b/public/index.php
@@ -1,5 +1,14 @@
2 && str_starts_with($url['path'], '/!')) {
+ $page_id = substr($url['path'], 2);
+ header("Location: /wiki.php?p=$page_id");
+ exit();
+}
+
?>
@@ -27,7 +36,7 @@ include_once $_SERVER['DOCUMENT_ROOT'] . '/../lib/partials.php';
A multi-utility Twitch chat bot that brings
a lot of functionality into your chat.
-
+
--
cgit v1.2.3