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)
|
foreach ($routes as $keys => $callback)
|
||||||
{
|
{
|
||||||
// Only check routes that have multiple URIs or wildcards.
|
// Only check routes that have multiple URIs or wildcards since other
|
||||||
// Other routes would have been caught by the check for literal matches.
|
// routes would have been caught by the check for literal matches.
|
||||||
if (strpos($keys, '(') !== false or strpos($keys, ',') !== false )
|
if (strpos($keys, '(') !== false or strpos($keys, ',') !== false )
|
||||||
{
|
{
|
||||||
foreach (explode(', ', $keys) as $key)
|
foreach (explode(', ', $keys) as $key)
|
||||||
|
|
Loading…
Reference in New Issue