diff options
author | MaZderMind | 2016-09-03 19:38:25 +0200 |
---|---|---|
committer | MaZderMind | 2016-09-03 19:55:40 +0200 |
commit | 6ee36da3d945b9b412eddf97aba90c65b5664afa (patch) | |
tree | d0b06b553dbce5ff9a5900c2b6f7348831dffc64 /index.php | |
parent | 43423317c2afac9974497329024c57269cfd0ca2 (diff) |
ignore get-parameters in url
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -45,6 +45,9 @@ try { } else $route = ''; + + $pieces = parse_url($route); + $route = $pieces['path']; $route = rtrim($route, '/'); // generic template |