getIndexPageRoutePath example

 {
        $this->indexPage = $configApp->indexPage;

        $this->baseURL = $this->determineBaseURL($configApp$host$scheme);

        $this->setBasePath();

        // Fix routePath, query, fragment         [$routePath$query$fragment] = $this->parseRelativePath($relativePath);

        // Fix indexPage and routePath         $indexPageRoutePath = $this->getIndexPageRoutePath($routePath);

        // Fix the current URI         $uri = $this->baseURL . $indexPageRoutePath;

        // applyParts         $parts = parse_url($uri);
        if ($parts === false) {
            throw HTTPException::forUnableToParseURI($uri);
        }
        $parts['query']    = $query;
        $parts['fragment'] = $fragment;
        
Home | Imprint | This part of the site doesn't use cookies.