9 if (!file_exists(__DIR__ . '/vendor/autoload.php')) {
10 die('Vendor path not found. Please execute "bin/composer.phar --no-dev install" on the command line in the web root.');
13 require __DIR__ . '/vendor/autoload.php';
15 $dice = (new Dice())->addRules(include __DIR__ . '/static/dependencies.config.php');
16 $dice = $dice->addRule(Friendica\App\Mode::class, ['call' => [['determineRunMode', [false, $_SERVER], Dice::CHAIN_CALL]]]);
18 \Friendica\BaseObject::setDependencyInjection($dice);
20 $a = \Friendica\BaseObject::getApp();
23 $dice->create(\Friendica\App\Module::class),
24 $dice->create(\Friendica\App\Router::class),
25 $dice->create(\Friendica\Core\Config\PConfiguration::class)