PremNord Locations & Homes update
This commit is contained in:
@@ -91,9 +91,8 @@ class mfRouter {
|
||||
if($_SERVER['REQUEST_METHOD'] == "POST" && $umod == "mfLogin" && $uaction == "Login") {
|
||||
// try to extract baseurl from env
|
||||
// may not work on all webservers
|
||||
$virtual = preg_replace('@/+$@', "", $_SERVER["REQUEST_URI"]);
|
||||
$virtual = preg_replace('@/+(\?.*)+$@', "", $_SERVER["REQUEST_URI"]);
|
||||
$real = preg_replace('@/+$@', "", $_SERVER['PHP_SELF']);
|
||||
|
||||
$virtual_parts = explode("/", $virtual);
|
||||
$real_parts = explode("/", $real);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user