/** * Füllt das Request-Objekt auf Basis des Pathinfo. * @param $request * @param string $pathinfo */ public function fillRequestByPathinfo(&$request, $pathinfo) { Profiler::startSection('SiteRouting.fillRequestByPathInfo'); $page = null; if ($pathinfo !== '') { $page = Page::loadByLink(Application::currentSiteId(), $pathinfo); } if ($page !== null) { $this->setCurrentPage($request, $page); } else { parent::fillRequestByPathinfo($request, $pathinfo); } Profiler::endSection('SiteRouting.fillRequestByPathInfo'); }