X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fqueue.php;h=128dfcba57dd25dc18e8d339468680f5aa03551a;hb=cbe4e2bf8c7b6fea2e700811a15b427e6141c9dd;hp=bc3cc258cc8c0ce04f56b038ebc1deb8161ee242;hpb=64946972b2004b0b8252da670d0e990143a40b77;p=friendica.git diff --git a/include/queue.php b/include/queue.php index bc3cc258cc..128dfcba57 100644 --- a/include/queue.php +++ b/include/queue.php @@ -84,7 +84,7 @@ function queue_run(&$argv, &$argc){ load_config('config'); load_config('system'); - $lockpath = get_config('system','lockpath'); + $lockpath = get_lockpath(); if ($lockpath != '') { $pidfile = new pidfile($lockpath, 'queue'); if($pidfile->is_already_running()) { @@ -265,6 +265,6 @@ function queue_run(&$argv, &$argc){ } if (array_search(__file__,get_included_files())===0){ - queue_run($argv,$argc); + queue_run($_SERVER["argv"],$_SERVER["argc"]); killme(); }