/www/wwwroot/www.90cto.com/core/jqcmf.php
\gichey\log::init();
$ctrlClass = '\\' . MODULE . '\controllers\\' . $request->ctrl . 'Controllers';
$action = $request->action;
$ctrlFile = APP . 'controllers/' . $request->ctrl . 'Controllers.php';
if (is_file($ctrlFile)) {
include $ctrlFile;
} else {
if (DEBUG) {
throw new Exception($ctrlClass . '控制器不存在请检查');
} else {
show404();
}
}
$ctrl = new $ctrlClass();
//如果开启restful,那么加载方法时带上请求类型
if (\gichey\config::get('OPEN_RESTFUL', 'system')) {
$action = strtolower($request->method()) . ucfirst($action);
}
Arguments
"\app\controllers\anliControllers控制器不存在请检查"
/www/wwwroot/www.90cto.com/core/init.php
//注册自动加载
spl_autoload_register('\jqcmf::load');
//设置默认市区
date_default_timezone_set(\gichey\config::get('TIMEZONE','system'));
if(PHP_SAPI == 'cli') {
\jqcmf_cli::run();
} else {
//开始跑框架
\jqcmf::run();
}
/www/wwwroot/www.90cto.com/vendor/composer/autoload_real.php
}
return $loader;
}
}
function composerRequire346b35cfcec3cb2ec444f1a2f692d057($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
}
}
Arguments
"/www/wwwroot/www.90cto.com/core/init.php"
/www/wwwroot/www.90cto.com/vendor/composer/autoload_real.php
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit346b35cfcec3cb2ec444f1a2f692d057::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire346b35cfcec3cb2ec444f1a2f692d057($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequire346b35cfcec3cb2ec444f1a2f692d057($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;
Arguments
"1318f8f2430d70240dcb7b02a42c068c"
"/www/wwwroot/www.90cto.com/vendor/composer/../../core/init.php"
/www/wwwroot/www.90cto.com/vendor/autoload.php
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit346b35cfcec3cb2ec444f1a2f692d057::getLoader();
/www/wwwroot/www.90cto.com/public/index.php
}
define('DEBUG', true);//调试模式
define('GICHEY', realpath(__DIR__.'/../')); // 根目录
define('DOMAIN','www.90cto.com');
//系统路径
define('CORE', GICHEY . '/core/');
define('APP', GICHEY . '/' . $MODULE_NAME . '/');
define('MODULE', $MODULE_NAME);
//载入composer
include GICHEY . '/vendor/autoload.php';
Arguments
"/www/wwwroot/www.90cto.com/vendor/autoload.php"