Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2591-2593 (lines=3) @@
2588
2589
        $url_path = $q;//LANG
2590
2591
        if (substr($url_path, 0, $len_base_url) === $this->config['base_url']) {
2592
            $url_path = substr($url_path, $len_base_url);
2593
        }
2594
2595
        $strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier));
2596
@@ 2597-2599 (lines=3) @@
2594
2595
        $strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier));
2596
2597
        if (substr($strictURL, 0, $len_base_url) === $this->config['base_url']) {
2598
            $strictURL = substr($strictURL, $len_base_url);
2599
        }
2600
        $http_host = $_SERVER['HTTP_HOST'];
2601
        $requestedURL = "{$scheme}://{$http_host}" . '/' . $q; //LANG
2602