X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fdaemon.php;h=047bf71be77b4ac31dbea889098e5dd52dce8b5b;hb=5e3a55915d7fdd554d711b2b5b619552a492c090;hp=298cfa2534ad1221ddbf1cf7561de89830b354e2;hpb=4aa28de89ec9dd0e27b37dbde9b8758c5bb6c4b4;p=friendica.git diff --git a/bin/daemon.php b/bin/daemon.php index 298cfa2534..047bf71be7 100755 --- a/bin/daemon.php +++ b/bin/daemon.php @@ -144,9 +144,7 @@ if (!$foreground) { file_put_contents($pidfile, $pid); // We lose the database connection upon forking - /// @todo refactoring during https://github.com/friendica/friendica/issues/6720 - $basePath = \Friendica\Util\BasePath::create(dirname(__DIR__), $_SERVER); - Factory\DBFactory::init($basePath, $a->getConfigCache(), $a->getProfiler(), $_SERVER); + Factory\DBFactory::init($a->getConfigCache(), $a->getProfiler(), $_SERVER); } Config::set('system', 'worker_daemon_mode', true);