From: Andrey Kutejko Date: Sun, 24 Aug 2014 16:06:57 +0000 (+0300) Subject: merge matched parts of url into request object X-Git-Tag: 0.6~168 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=2255ba3f8c520a735caa5ba2e7cfe5f03c34ee88;p=ipf.git merge matched parts of url into request object --- diff --git a/ipf/router.php b/ipf/router.php index 70bfb2b..f644271 100644 --- a/ipf/router.php +++ b/ipf/router.php @@ -80,6 +80,7 @@ class IPF_Router $match = array(); if ($route->matcher()->match($req->query, $match)) { $func = $route->func; + $req->params = $match; break; } }