This commit is contained in:
William 2024-11-13 20:28:28 +00:00
parent 2575598660
commit ad655ef2be

View File

@ -22,6 +22,8 @@ abstract class Route
$url_path_parts = explode('/', self::$prefix . $url_path);
$callback_args = [];
for ($i = 1; $i < count($url_path_parts); $i++) {
if ($url_path_parts[$i] === '')
continue;
if ($url_path_parts[$i][0] !== '$')
continue;
if (!isset($request_url_path_parts[$i]))