Issue 5467: Fix worker and daemon
This commit is contained in:
parent
0e719f5398
commit
de984cdaa1
2 changed files with 3 additions and 6 deletions
|
@ -13,9 +13,8 @@ use Friendica\Core\Worker;
|
|||
use Friendica\Database\DBA;
|
||||
|
||||
// Get options
|
||||
$shortopts = '';
|
||||
$shortopts .= 'f';
|
||||
$longopts = [ 'foreground' ];
|
||||
$shortopts = 'f';
|
||||
$longopts = ['foreground'];
|
||||
$options = getopt($shortopts, $longopts);
|
||||
|
||||
// Ensure that daemon.php is executed from the base path of the installation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue