X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdependencies.config.php;h=57ef629bb255aa04f74365774d0471d3e3b247bb;hb=893b8e5df37aa04f6f03fb5fb811383f6dca9eb2;hp=a43fb368af2592cfbc77e8e66fb5908161e674a5;hpb=516018861e011865a902587876d484d6f0f42a66;p=friendica.git diff --git a/static/dependencies.config.php b/static/dependencies.config.php index a43fb368af..57ef629bb2 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -40,7 +40,6 @@ use Friendica\Core\Config; use Friendica\Core\PConfig; use Friendica\Core\L10n; use Friendica\Core\Lock; -use Friendica\Core\Process; use Friendica\Core\Session\Capability\IHandleSessions; use Friendica\Core\Storage\Repository\StorageManager; use Friendica\Database\Database; @@ -188,10 +187,9 @@ return [ ['determineModule', [], Dice::CHAIN_CALL], ], ], - Process::class => [ + \Friendica\Core\System::class => [ 'constructParams' => [ [Dice::INSTANCE => '$basepath'], - getmypid(), ], ], App\Router::class => [ @@ -240,4 +238,9 @@ return [ [Dice::INSTANCE => Util\ReversedFileReader::class], ] ], + \Friendica\Core\Worker\Repository\Process::class => [ + 'constructParams' => [ + $_SERVER + ], + ], ];