X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdependencies.config.php;h=ea9830679f426d74a609bc34407e74da2d83d006;hb=33674808dcbb2336466c65ed9915bda661076ae6;hp=fbc085f4bc347dcc8dae17fecb7cb3eb79e29b61;hpb=0258fd17c701602480572488758ad9337ceddf8c;p=friendica.git diff --git a/static/dependencies.config.php b/static/dependencies.config.php index fbc085f4bc..ea9830679f 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -6,6 +6,7 @@ use Friendica\Core\Cache; use Friendica\Core\Config; use Friendica\Core\L10n\L10n; use Friendica\Core\Lock\ILock; +use Friendica\Core\Session\ISession; use Friendica\Database\Database; use Friendica\Factory; use Friendica\Util; @@ -179,4 +180,11 @@ return [ $_SERVER, $_GET ], ], + ISession::class => [ + 'instanceOf' => Factory\SessionFactory::class, + 'call' => [ + ['createSession', [$_SERVER], Dice::CHAIN_CALL], + ['start', [], Dice::CHAIN_CALL], + ], + ], ];