Code Duplication    Length = 3-3 lines in 2 locations

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

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