commit 8f6619ff67c690b1c9c501362a053057a5216570
parent 2ef76ab159475cd9c67caa854d6de94d5f047381
Author: markseu <mark2011@mayberg.se>
Date: Tue, 3 Jan 2017 14:17:11 +0100
Yellow requires PHP 5.3 or higher
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/yellow.php b/yellow.php
@@ -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);
}