PremNord Locations & Homes update

This commit is contained in:
Frank Schubert
2023-08-31 08:50:48 +02:00
parent 6606083239
commit b4021c3179
5 changed files with 3168 additions and 4 deletions
+1 -2
View File
@@ -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);