aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMaZderMind2016-09-03 19:38:25 +0200
committerMaZderMind2016-09-03 19:55:40 +0200
commit6ee36da3d945b9b412eddf97aba90c65b5664afa (patch)
treed0b06b553dbce5ff9a5900c2b6f7348831dffc64 /index.php
parent43423317c2afac9974497329024c57269cfd0ca2 (diff)
ignore get-parameters in url
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index 38e5a0d..dd2c5d9 100644
--- a/index.php
+++ b/index.php
@@ -45,6 +45,9 @@ try {
}
else $route = '';
+
+ $pieces = parse_url($route);
+ $route = $pieces['path'];
$route = rtrim($route, '/');
// generic template