예제 #1
0
파일: rebuild.php 프로젝트: chinazan/zzcrm
<?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();