mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-29 22:49:15 +00:00
Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 749f252ffb | |||
| 032a2ae7e0 | |||
| c2e2d3bb5d | |||
| 5dd0690009 | |||
| dbcf8f19a3 | |||
| b08dea9da5 | |||
| e3145cc1ec | |||
| 75ea58dd9c | |||
| 470000ad05 | |||
| 3ffe9c8c07 | |||
| 44c2b99513 | |||
| 8b9e43c99e | |||
| c4a9918048 | |||
| 63a9ec65cf | |||
| 14d3577a6a | |||
| 869c65f347 | |||
| 4fc48b4420 | |||
| bef3207fcd | |||
| d7bdee1092 | |||
| 8c5ed8410a |
@@ -78,7 +78,7 @@ class RouteGroup extends Route implements IGroupRoute
|
||||
}
|
||||
|
||||
/* Skip if prefix doesn't match */
|
||||
if ($this->prefix !== null && stripos($url, $parsedPrefix) === false) {
|
||||
if ($this->prefix !== null && stripos($url, rtrim($parsedPrefix, '/') . '/') === false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user