yellow/yellow.php
2013-06-07 22:01:12 +02:00

13 lines
289 B
PHP
Executable file

<?php
require_once("system/core/core.php");
if(PHP_SAPI != "cli")
{
$yellow = new Yellow();
$yellow->plugins->load();
$yellow->request();
} else {
$yellow = new Yellow();
$yellow->plugins->load();
$yellow->plugin("commandline", $argv[1], $argv[2], $argv[3], $argv[4], $argv[5]);
}
?>