@@ 2768-2770 (lines=3) @@ | ||
2765 | ||
2766 | $url_path = $q;//LANG |
|
2767 | ||
2768 | if (substr($url_path, 0, $len_base_url) === $this->config['base_url']) { |
|
2769 | $url_path = substr($url_path, $len_base_url); |
|
2770 | } |
|
2771 | ||
2772 | $strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier)); |
|
2773 | ||
@@ 2774-2776 (lines=3) @@ | ||
2771 | ||
2772 | $strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier)); |
|
2773 | ||
2774 | if (substr($strictURL, 0, $len_base_url) === $this->config['base_url']) { |
|
2775 | $strictURL = substr($strictURL, $len_base_url); |
|
2776 | } |
|
2777 | $http_host = $_SERVER['HTTP_HOST']; |
|
2778 | $requestedURL = "{$scheme}://{$http_host}" . '/' . $q; //LANG |
|
2779 |