Exemplo n.º 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();
Exemplo n.º 2
0
<?php

require_once '../../bootstrap.php';
$app = new \Fox\Core\Application();
$app->run();
Exemplo n.º 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();
Exemplo n.º 4
0
<?php

include "bootstrap.php";
$app = new \Fox\Core\Application();
if (!empty($_GET['entryPoint'])) {
    $app->runEntryPoint($_GET['entryPoint']);
    exit;
}
$app->runClient();
Exemplo n.º 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();