Use $argv instead of $_SERVER['argv']

This commit is contained in:
Hypolite Petovan 2018-03-30 22:56:04 -04:00
parent 8a2d41e53f
commit 3b81c66150

View File

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