Inline mode call into App::processRequest()

This commit is contained in:
Art4 2024-12-20 10:05:13 +00:00
parent 7a7b8d3e27
commit ee5b210682
2 changed files with 2 additions and 2 deletions

View file

@ -31,8 +31,6 @@ $a = \Friendica\App::fromDice($dice);
$a->processRequest(); $a->processRequest();
\Friendica\DI::mode()->setExecutor(\Friendica\App\Mode::INDEX);
$a->runFrontend( $a->runFrontend(
$dice->create(\Friendica\App\Router::class), $dice->create(\Friendica\App\Router::class),
$dice->create(\Friendica\Core\PConfig\Capability\IManagePersonalConfigValues::class), $dice->create(\Friendica\Core\PConfig\Capability\IManagePersonalConfigValues::class),

View file

@ -160,6 +160,8 @@ class App
$this->container->create(DbaDefinition::class), $this->container->create(DbaDefinition::class),
$this->container->create(ViewDefinition::class), $this->container->create(ViewDefinition::class),
); );
$this->mode->setExecutor(Mode::INDEX);
} }
/** /**