mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Pass RX_REQUEST_URL directly to the Router
This commit is contained in:
parent
8964891387
commit
d5160c28ce
3 changed files with 3 additions and 10 deletions
|
|
@ -113,12 +113,6 @@ class Router
|
|||
*/
|
||||
public static function parseURL(string $method, string $url, int $rewrite_level)
|
||||
{
|
||||
// Get the local part of the current URL.
|
||||
if (starts_with(\RX_BASEURL, $url))
|
||||
{
|
||||
$url = substr($url, strlen(\RX_BASEURL));
|
||||
}
|
||||
|
||||
// Prepare the return object.
|
||||
$result = new \stdClass;
|
||||
$result->status = 200;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue