Code Duplication    Length = 3-3 lines in 2 locations

manager/includes/document.parser.class.inc.php 2 locations

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