]> git.mxchange.org Git - friendica.git/blobdiff - src/App/BaseURL.php
Merge remote-tracking branch 'upstream/develop' into item-notification
[friendica.git] / src / App / BaseURL.php
index 6b79fad4662e6c0c88ad6bb18d457c79ad033e16..7c286514a6206e46747da3def5e3d62486f166d0 100644 (file)
@@ -355,7 +355,7 @@ class BaseURL
                if (!empty($relative_script_path)) {
                        // Module
                        if (!empty($this->server['QUERY_STRING'])) {
-                               $this->urlPath = trim(rdirname($relative_script_path, substr_count(trim($this->server['QUERY_STRING'], '/'), '/') + 1), '/');
+                               $this->urlPath = trim(dirname($relative_script_path, substr_count(trim($this->server['QUERY_STRING'], '/'), '/') + 1), '/');
                        } else {
                                // Root page
                                $this->urlPath = trim($relative_script_path, '/');