mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:40:16 +00:00
Inline mode call into App::processRequest()
This commit is contained in:
parent
7a7b8d3e27
commit
ee5b210682
2 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue