]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #4718 from MrPetovan/bug/fix-console-url-argument
authorMichael Vogel <icarus@dabo.de>
Sat, 31 Mar 2018 04:02:23 +0000 (06:02 +0200)
committerGitHub <noreply@github.com>
Sat, 31 Mar 2018 04:02:23 +0000 (06:02 +0200)
Console: Use $argv instead of $_SERVER['argv']

bin/console.php

index 90e4be392856b135a54907fd06f3345b82afeb22..9c25279d37222a77acb62a186b556761251dd6f6 100755 (executable)
@@ -6,4 +6,4 @@ include_once dirname(__DIR__) . '/boot.php';
 $a = new Friendica\App(dirname(__DIR__));
 \Friendica\BaseObject::setApp($a);
 
-(new Friendica\Core\Console())->execute();
+(new Friendica\Core\Console($argv))->execute();