diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/index.php | 3 |
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))); ?> |