Core update (command line)
This commit is contained in:
parent
f5a6f712eb
commit
e33aba68d2
1 changed files with 1 additions and 1 deletions
2
yellow.php
Normal file → Executable file
2
yellow.php
Normal file → Executable file
|
@ -12,6 +12,6 @@ if(PHP_SAPI != "cli")
|
|||
$yellow = new Yellow();
|
||||
$yellow->plugins->load();
|
||||
$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);
|
||||
}
|
||||
?>
|
Loading…
Add table
Reference in a new issue