Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2489-2491 (lines=3) @@
2486
2487
        $url_path = $q;//LANG
2488
2489
        if (substr($url_path, 0, $len_base_url) === $this->config['base_url']) {
2490
            $url_path = substr($url_path, $len_base_url);
2491
        }
2492
2493
        $strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier));
2494
@@ 2495-2497 (lines=3) @@
2492
2493
        $strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier));
2494
2495
        if (substr($strictURL, 0, $len_base_url) === $this->config['base_url']) {
2496
            $strictURL = substr($strictURL, $len_base_url);
2497
        }
2498
        $http_host = $_SERVER['HTTP_HOST'];
2499
        $requestedURL = "{$scheme}://{$http_host}" . '/' . $q; //LANG
2500