2013-06-07 20:01:12 +00:00
|
|
|
<?php
|
2020-05-20 11:51:18 +00:00
|
|
|
// Datenstrom Yellow is for people who make small websites, https://datenstrom.se/yellow/
|
2020-01-02 09:45:02 +00:00
|
|
|
// Copyright (c) 2013-2020 Datenstrom, https://datenstrom.se
|
2014-07-10 08:42:32 +00:00
|
|
|
// This file may be used and distributed under the terms of the public license.
|
2013-08-28 10:01:46 +00:00
|
|
|
|
2019-02-23 14:06:52 +00:00
|
|
|
require_once("system/extensions/core.php");
|
2018-08-10 22:24:39 +00:00
|
|
|
|
|
|
|
if (PHP_SAPI!="cli") {
|
|
|
|
$yellow = new YellowCore();
|
|
|
|
$yellow->load();
|
|
|
|
$yellow->request();
|
2013-06-07 20:01:12 +00:00
|
|
|
} else {
|
2018-08-10 22:24:39 +00:00
|
|
|
$yellow = new YellowCore();
|
|
|
|
$yellow->load();
|
2020-03-05 21:40:33 +00:00
|
|
|
exit($yellow->command($argv[1], $argv[2], $argv[3], $argv[4], $argv[5], $argv[6], $argv[7]));
|
2013-06-07 20:01:12 +00:00
|
|
|
}
|