|
@ -32,7 +32,6 @@ class Route |
|
|
{ |
|
|
{ |
|
|
$parts = explode('/', $this->route); |
|
|
$parts = explode('/', $this->route); |
|
|
$cnt = count($parts); |
|
|
$cnt = count($parts); |
|
|
|
|
|
|
|
|
if(count($request) != $cnt) { |
|
|
if(count($request) != $cnt) { |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
@ -52,6 +51,7 @@ class Route |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|