mirror of
https://github.com/friendica/friendica
synced 2025-01-30 23:39:47 +00:00
Move Mode::setExecutor() call inside App::runFrontend()
This commit is contained in:
parent
bf28afb651
commit
064b70f4c0
1 changed files with 2 additions and 2 deletions
|
@ -166,8 +166,6 @@ class App
|
||||||
|
|
||||||
$this->registerTemplateEngine();
|
$this->registerTemplateEngine();
|
||||||
|
|
||||||
$this->mode->setExecutor(Mode::INDEX);
|
|
||||||
|
|
||||||
$this->runFrontend(
|
$this->runFrontend(
|
||||||
$this->container->create(IManagePersonalConfigValues::class),
|
$this->container->create(IManagePersonalConfigValues::class),
|
||||||
$this->container->create(Page::class),
|
$this->container->create(Page::class),
|
||||||
|
@ -348,6 +346,8 @@ class App
|
||||||
float $start_time,
|
float $start_time,
|
||||||
ServerRequestInterface $request
|
ServerRequestInterface $request
|
||||||
) {
|
) {
|
||||||
|
$this->mode->setExecutor(Mode::INDEX);
|
||||||
|
|
||||||
$httpInput = new HTTPInputData($request->getServerParams());
|
$httpInput = new HTTPInputData($request->getServerParams());
|
||||||
$serverVars = $request->getServerParams();
|
$serverVars = $request->getServerParams();
|
||||||
$queryVars = $request->getQueryParams();
|
$queryVars = $request->getQueryParams();
|
||||||
|
|
Loading…
Add table
Reference in a new issue