diff options
author | MaZderMind | 2016-10-17 23:06:14 +0200 |
---|---|---|
committer | MaZderMind | 2016-10-17 23:06:14 +0200 |
commit | b00cbc091168df68e166c1bc986646fa39879a17 (patch) | |
tree | ddb61f4f9fe015b326e880f208a07f28c098dc02 /index.php | |
parent | 4586b89f7dd8ea64597b8b5383658940b47616e3 (diff) |
fix 500-error when served path is missing
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ try { $pieces = parse_url($route); - $route = $pieces['path']; + $route = isset($pieces['path']) ? $pieces['path'] : ''; $route = rtrim($route, '/'); $GLOBALS['forceopen'] = isset($_GET['forceopen']); |