summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-12-22 19:02:39 -0500
committer53hornet <atc@53hor.net>2021-12-22 19:02:39 -0500
commit9409834cbad547e94f153eca28c53fee4b57af2a (patch)
tree75bae605de53ccb2b036b91e3aa8a123c88e998d /index.php
parente943adab89d1c42cc1142bf39e0d3d5e8add77f1 (diff)
download53hor-9409834cbad547e94f153eca28c53fee4b57af2a.tar.xz
53hor-9409834cbad547e94f153eca28c53fee4b57af2a.zip
feat: basic donation page
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index f9ad9cf..14e5da2 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
include('./includes/head.php');
-$page = strtok($_SERVER['REQUEST_URI'], '/');
+$page = strtok(strtok($_SERVER['REQUEST_URI'], '/'), '?');
if (empty($page)) {
include('./pages/index.php');