working on comments.
This commit is contained in:
parent
9fa69e0844
commit
a44ca9d53b
|
@ -128,8 +128,8 @@ public function route($method, $uri)
|
|||
|
||||
foreach ($routes as $keys => $callback)
|
||||
{
|
||||
// Only check routes that have multiple URIs or wildcards.
|
||||
// Other routes would have been caught by the check for literal matches.
|
||||
// Only check routes that have multiple URIs or wildcards since other
|
||||
// routes would have been caught by the check for literal matches.
|
||||
if (strpos($keys, '(') !== false or strpos($keys, ',') !== false )
|
||||
{
|
||||
foreach (explode(', ', $keys) as $key)
|
||||
|
|
Loading…
Reference in New Issue