]> git.mxchange.org Git - friendica.git/commitdiff
Use $argv instead of $_SERVER['argv']
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 31 Mar 2018 02:56:04 +0000 (22:56 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Sat, 31 Mar 2018 02:56:04 +0000 (22:56 -0400)
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();