From: Art4 Date: Wed, 22 Jan 2025 11:59:24 +0000 (+0000) Subject: Move Mode::setExecutor() call inside App::runFrontend() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=064b70f4c0f1318d5993f2fe830fa359bedacf53;p=friendica.git Move Mode::setExecutor() call inside App::runFrontend() --- diff --git a/src/App.php b/src/App.php index 5ee8562dbf..6546d56778 100644 --- a/src/App.php +++ b/src/App.php @@ -166,8 +166,6 @@ class App $this->registerTemplateEngine(); - $this->mode->setExecutor(Mode::INDEX); - $this->runFrontend( $this->container->create(IManagePersonalConfigValues::class), $this->container->create(Page::class), @@ -348,6 +346,8 @@ class App float $start_time, ServerRequestInterface $request ) { + $this->mode->setExecutor(Mode::INDEX); + $httpInput = new HTTPInputData($request->getServerParams()); $serverVars = $request->getServerParams(); $queryVars = $request->getQueryParams();