This commit is contained in:
Simon Sessingø
2016-11-27 01:07:11 +01:00
parent f5b03e106c
commit 74351e0330
6 changed files with 13 additions and 14 deletions
+3 -2
View File
@@ -17,8 +17,9 @@ class RouteUrl extends LoadableRoute
$url = rtrim($url, '/') . '/';
/* Match global regular-expression for route */
if($this->matchRegex($request, $url) === true) {
return true;
$domainMatch = $this->matchRegex($request, $url);
if($domainMatch !== null) {
return $domainMatch;
}
/* Make regular expression based on route */