aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 4deefcd..5935c79 100644
--- a/index.php
+++ b/index.php
@@ -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']);