summaryrefslogtreecommitdiffstats
path: root/app/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/index.php')
-rw-r--r--app/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/index.php b/app/index.php
index e883eff..3fee675 100644
--- a/app/index.php
+++ b/app/index.php
@@ -68,6 +68,7 @@ function main(array $argv) : void
}
}
-main(explode("/", $_SERVER['PATH_INFO']));
+$tokens = explode("/", $_SERVER['PATH_INFO']);
+main(array_values(array_filter($tokens)));
?>