Code Duplication    Length = 3-3 lines in 2 locations

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

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