Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2525-2527 (lines=3) @@
2522
2523
        $url_path = $q;//LANG
2524
2525
        if (substr($url_path, 0, $len_base_url) === $this->config['base_url']) {
2526
            $url_path = substr($url_path, $len_base_url);
2527
        }
2528
2529
        $strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier));
2530
@@ 2531-2533 (lines=3) @@
2528
2529
        $strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier));
2530
2531
        if (substr($strictURL, 0, $len_base_url) === $this->config['base_url']) {
2532
            $strictURL = substr($strictURL, $len_base_url);
2533
        }
2534
        $http_host = $_SERVER['HTTP_HOST'];
2535
        $requestedURL = "{$scheme}://{$http_host}" . '/' . $q; //LANG
2536