Core update (command line)

This commit is contained in:
markseu 2015-09-07 00:09:22 +02:00
parent f5a6f712eb
commit e33aba68d2

2
yellow.php Normal file → Executable file
View file

@ -12,6 +12,6 @@ if(PHP_SAPI != "cli")
$yellow = new Yellow(); $yellow = new Yellow();
$yellow->plugins->load(); $yellow->plugins->load();
$statusCode = $yellow->command("commandline", $argv[1], $argv[2], $argv[3], $argv[4], $argv[5], $argv[6]); $statusCode = $yellow->command("commandline", $argv[1], $argv[2], $argv[3], $argv[4], $argv[5], $argv[6]);
exit($statusCode<=200 ? 0 : 1); exit($statusCode<400 ? 0 : 1);
} }
?> ?>