summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
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');