Code Duplication    Length = 3-3 lines in 2 locations

manager/includes/src/Core.php 2 locations

@@ 2513-2515 (lines=3) @@
2510
2511
        $url_path = $q;//LANG
2512
2513
        if (substr($url_path, 0, $len_base_url) === $this->config['base_url']) {
2514
            $url_path = substr($url_path, $len_base_url);
2515
        }
2516
2517
        $strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier));
2518
@@ 2519-2521 (lines=3) @@
2516
2517
        $strictURL = $this->toAlias($this->makeUrl($this->documentIdentifier));
2518
2519
        if (substr($strictURL, 0, $len_base_url) === $this->config['base_url']) {
2520
            $strictURL = substr($strictURL, $len_base_url);
2521
        }
2522
        $http_host = $_SERVER['HTTP_HOST'];
2523
        $requestedURL = "{$scheme}://{$http_host}" . '/' . $q; //LANG
2524