]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Move module post call before rawContent
[friendica.git] / index.php
index 1e6439e0383cb22d20d80c91af4bbbeef393b116..5407532d494fdec91eefcf52b00c966ba8c26056 100644 (file)
--- a/index.php
+++ b/index.php
@@ -13,6 +13,7 @@ if (!file_exists(__DIR__ . '/vendor/autoload.php')) {
 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);