mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 11:14:32 +02:00
Inline runFrontend() call into App::processRequest() method
This commit is contained in:
parent
ee5b210682
commit
9e4f39b4fb
2 changed files with 15 additions and 14 deletions
14
index.php
14
index.php
|
@ -29,16 +29,4 @@ $dice = $dice->addRule(Friendica\App\Mode::class, ['call' => [['determineRunMode
|
|||
|
||||
$a = \Friendica\App::fromDice($dice);
|
||||
|
||||
$a->processRequest();
|
||||
|
||||
$a->runFrontend(
|
||||
$dice->create(\Friendica\App\Router::class),
|
||||
$dice->create(\Friendica\Core\PConfig\Capability\IManagePersonalConfigValues::class),
|
||||
$dice->create(\Friendica\Security\Authentication::class),
|
||||
$dice->create(\Friendica\App\Page::class),
|
||||
$dice->create(\Friendica\Content\Nav::class),
|
||||
$dice->create(Friendica\Module\Special\HTTPException::class),
|
||||
new \Friendica\Util\HTTPInputData($request->getServerParams()),
|
||||
$start_time,
|
||||
$request->getServerParams()
|
||||
);
|
||||
$a->processRequest($request, $start_time);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue