From 6ee36da3d945b9b412eddf97aba90c65b5664afa Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 3 Sep 2016 19:38:25 +0200 Subject: ignore get-parameters in url --- index.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.php') 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 -- cgit v1.2.3