示例#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();
示例#2
0
文件: index.php 项目: chinazan/zzcrm
<?php

require_once '../../bootstrap.php';
$app = new \Fox\Core\Application();
$app->run();
示例#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();
示例#4
0
文件: index.php 项目: chinazan/zzcrm
<?php

include "bootstrap.php";
$app = new \Fox\Core\Application();
if (!empty($_GET['entryPoint'])) {
    $app->runEntryPoint($_GET['entryPoint']);
    exit;
}
$app->runClient();
示例#5
0
文件: cron.php 项目: chinazan/zzcrm
<?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();