Yellow requires PHP 5.3 or higher

This commit is contained in:
markseu 2017-01-03 14:17:11 +01:00
parent 2ef76ab159
commit 8f6619ff67

View file

@ -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);
}