X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fworker.php;h=2abfa0ad9215a71da989c66f6deabe87280d42cd;hb=3500e50be9f2f9979b073041e4a3d0624e5bf2f0;hp=b4b265283ccba3d60ea44a38ffc9b6d48c0a92e0;hpb=78114c13d5ce27b36682a960859056d4ebf9d9be;p=friendica.git diff --git a/bin/worker.php b/bin/worker.php index b4b265283c..2abfa0ad92 100755 --- a/bin/worker.php +++ b/bin/worker.php @@ -24,14 +24,8 @@ if (!file_exists("boot.php") && (sizeof($_SERVER["argv"]) != 0)) { } require_once "boot.php"; -require_once "include/dba.php"; $a = new App(dirname(__DIR__)); -BaseObject::setApp($a); - -require_once ".htconfig.php"; -dba::connect($db_host, $db_user, $db_pass, $db_data); -unset($db_host, $db_user, $db_pass, $db_data); Config::load(); @@ -63,4 +57,3 @@ Worker::unclaimProcess(); Worker::endProcess(); killme(); -