mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 12:32:14 +09:00
Add missing end marker to router regexp
This commit is contained in:
parent
e1df71bc38
commit
e4d40af5ec
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ class Router
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try to detect the prefix. This might be $mid.
|
// Try to detect the prefix. This might be $mid.
|
||||||
if ($rewrite_level >= 2 && preg_match('#^([a-zA-Z0-9_-]+)(?:/(.*))?#s', $url, $matches))
|
if ($rewrite_level >= 2 && preg_match('#^([a-zA-Z0-9_-]+)(?:/(.*))?$#s', $url, $matches))
|
||||||
{
|
{
|
||||||
// Separate the prefix and the internal part of the URL.
|
// Separate the prefix and the internal part of the URL.
|
||||||
$prefix = $matches[1];
|
$prefix = $matches[1];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue