Beispiel #1
0
<?php

$sapiName = php_sapi_name();
if (substr($sapiName, 0, 3) != 'cli') {
    die("Rebuild can be run only via CLI");
}
include "bootstrap.php";
$app = new \Fox\Core\Application();
$app->runRebuild();
Beispiel #2
0
<?php

require_once '../../bootstrap.php';
$app = new \Fox\Core\Application();
$app->run();
Beispiel #3
0
<?php

$sapiName = php_sapi_name();
if (substr($sapiName, 0, 3) != 'cli') {
    die("Rebuild can be run only via CLI");
}
include "bootstrap.php";
$app = new \Fox\Core\Application();
$app->runClearCache();
Beispiel #4
0
<?php

include "bootstrap.php";
$app = new \Fox\Core\Application();
if (!empty($_GET['entryPoint'])) {
    $app->runEntryPoint($_GET['entryPoint']);
    exit;
}
$app->runClient();
Beispiel #5
0
<?php

$sapiName = php_sapi_name();
if (substr($sapiName, 0, 3) != 'cli') {
    die("Cron can be run only via CLI");
}
include "bootstrap.php";
$app = new \Fox\Core\Application();
$app->runCron();