Hotfixxx
This commit is contained in:
parent
2575598660
commit
ad655ef2be
@ -22,6 +22,8 @@ abstract class Route
|
|||||||
$url_path_parts = explode('/', self::$prefix . $url_path);
|
$url_path_parts = explode('/', self::$prefix . $url_path);
|
||||||
$callback_args = [];
|
$callback_args = [];
|
||||||
for ($i = 1; $i < count($url_path_parts); $i++) {
|
for ($i = 1; $i < count($url_path_parts); $i++) {
|
||||||
|
if ($url_path_parts[$i] === '')
|
||||||
|
continue;
|
||||||
if ($url_path_parts[$i][0] !== '$')
|
if ($url_path_parts[$i][0] !== '$')
|
||||||
continue;
|
continue;
|
||||||
if (!isset($request_url_path_parts[$i]))
|
if (!isset($request_url_path_parts[$i]))
|
||||||
|
Loading…
Reference in New Issue
Block a user