]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Remove join profile table
[friendica.git] / index.php
index dbdac5fcbfa82279175090d15fd09cbe44dce383..7a6e26b42e02f6fdce75c77d3fbc0e23c79cf322 100644 (file)
--- a/index.php
+++ b/index.php
@@ -15,13 +15,14 @@ require __DIR__ . '/vendor/autoload.php';
 $dice = (new Dice())->addRules(include __DIR__ . '/static/dependencies.config.php');
 $dice = $dice->addRule(Friendica\App\Mode::class, ['call' => [['determineRunMode', [false, $_SERVER], Dice::CHAIN_CALL]]]);
 
-\Friendica\BaseObject::setDependencyInjection($dice);
+\Friendica\DI::init($dice);
 
-$a = \Friendica\BaseObject::getApp();
+$a = \Friendica\DI::app();
 
 $a->runFrontend(
        $dice->create(\Friendica\App\Module::class),
        $dice->create(\Friendica\App\Router::class),
-       $dice->create(\Friendica\Core\Config\PConfiguration::class),
-       $dice->create(\Friendica\App\Authentication::class)
+       $dice->create(\Friendica\Core\PConfig\IPConfig::class),
+       $dice->create(\Friendica\App\Authentication::class),
+       $dice->create(\Friendica\App\Page::class)
 );