Yellow requires PHP 5.3 or higher
This commit is contained in:
parent
2ef76ab159
commit
8f6619ff67
1 changed files with 2 additions and 2 deletions
|
@ -8,11 +8,11 @@ require_once("system/plugins/core.php");
|
|||
if(PHP_SAPI!="cli")
|
||||
{
|
||||
$yellow = new YellowCore();
|
||||
$yellow->plugins->load();
|
||||
$yellow->load();
|
||||
$yellow->request();
|
||||
} else {
|
||||
$yellow = new YellowCore();
|
||||
$yellow->plugins->load();
|
||||
$yellow->load();
|
||||
$statusCode = $yellow->command($argv[1], $argv[2], $argv[3], $argv[4], $argv[5], $argv[6], $argv[7]);
|
||||
exit($statusCode<400 ? 0 : 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue