Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2536-2538 (lines=3) @@
2533
2534
        $url_path = $q;//LANG
2535
2536
        if (substr($url_path, 0, $len_base_url) === $this->config['base_url']) {
2537
            $url_path = substr($url_path, $len_base_url);
2538
        }
2539
2540
        $strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier));
2541
@@ 2542-2544 (lines=3) @@
2539
2540
        $strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier));
2541
2542
        if (substr($strictURL, 0, $len_base_url) === $this->config['base_url']) {
2543
            $strictURL = substr($strictURL, $len_base_url);
2544
        }
2545
        $http_host = $_SERVER['HTTP_HOST'];
2546
        $requestedURL = "{$scheme}://{$http_host}" . '/' . $q; //LANG
2547