|
@@ 2505-2507 (lines=3) @@
|
| 2502 |
|
|
| 2503 |
|
$url_path = $q;//LANG |
| 2504 |
|
|
| 2505 |
|
if (substr($url_path, 0, $len_base_url) === $this->config['base_url']) { |
| 2506 |
|
$url_path = substr($url_path, $len_base_url); |
| 2507 |
|
} |
| 2508 |
|
|
| 2509 |
|
$strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier)); |
| 2510 |
|
|
|
@@ 2511-2513 (lines=3) @@
|
| 2508 |
|
|
| 2509 |
|
$strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier)); |
| 2510 |
|
|
| 2511 |
|
if (substr($strictURL, 0, $len_base_url) === $this->config['base_url']) { |
| 2512 |
|
$strictURL = substr($strictURL, $len_base_url); |
| 2513 |
|
} |
| 2514 |
|
$http_host = $_SERVER['HTTP_HOST']; |
| 2515 |
|
$requestedURL = "{$scheme}://{$http_host}" . '/' . $q; //LANG |
| 2516 |
|
|