]> git.andy128k.dev Git - ipf.git/commitdiff
merge matched parts of url into request object
authorAndrey Kutejko <andy128k@gmail.com>
Sun, 24 Aug 2014 16:06:57 +0000 (19:06 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Sun, 24 Aug 2014 16:06:57 +0000 (19:06 +0300)
ipf/router.php

index 70bfb2bc80471f739bd824fb375461bacfcd9ad0..f644271480e8f057a4b2c1e3467b9eaa0275e02f 100644 (file)
@@ -80,6 +80,7 @@ class IPF_Router
             $match = array();
             if ($route->matcher()->match($req->query, $match)) {
                 $func = $route->func;
+                $req->params = $match;
                 break;
             }
         }