// 设置当前请求的控制器、操作
$request->controller(Loader::parseName($controller, 1))->action($actionName);
// 监听module_init
Hook::listen('module_init', $request);
$instance = Loader::controller($controller, $config['url_controller_layer'], $config['controller_suffix'], $config['empty_controller']);
if (is_null($instance)) {
throw new HttpException(404, 'controller not exists:' . Loader::parseName($controller, 1));
}
// 获取当前操作名
$action = $actionName . $config['action_suffix'];
$vars = [];
if (is_callable([$instance, $action])) {
// 执行操作方法
$call = [$instance, $action];
} elseif (is_callable([$instance, '_empty'])) {
USER | nobody |
HOME | / |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /data/user/htdocs/index.php |
PATH_INFO | /ben/yxzx/193773.shtml |
QUERY_STRING | s=/ben/yxzx/193773.shtml |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /ben/yxzx/193773.shtml |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /data/user/htdocs |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | https |
HTTPS | on |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.18.0 |
REMOTE_ADDR | 3.133.117.14 |
REMOTE_PORT | 2466 |
SERVER_ADDR | 10.21.232.236 |
SERVER_PORT | 443 |
SERVER_NAME | moutil.com |
REDIRECT_STATUS | 200 |
HTTP_HOST | moutil.com |
HTTP_CONNECTION | keep-alive |
HTTP_PRAGMA | no-cache |
HTTP_CACHE_CONTROL | no-cache |
HTTP_UPGRADE_INSECURE_REQUESTS | 1 |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 |
HTTP_SEC_FETCH_SITE | none |
HTTP_SEC_FETCH_MODE | navigate |
HTTP_SEC_FETCH_USER | ?1 |
HTTP_SEC_FETCH_DEST | document |
HTTP_SEC_CH_UA | "HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129" |
HTTP_SEC_CH_UA_MOBILE | ?0 |
HTTP_SEC_CH_UA_PLATFORM | "Windows" |
HTTP_ACCEPT_ENCODING | gzip, deflate, br, zstd |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1734274248.6467 |
REQUEST_TIME | 1734274248 |
APP_PATH | ../myfolder/application/ |
BIND_MODULE | index |
THINK_VERSION | 5.0.6 |
THINK_START_TIME | 1734274248.6468 |
THINK_START_MEM | 231904 |
EXT | .php |
DS | / |
THINK_PATH | /data/user/myfolder/inc/ |
LIB_PATH | /data/user/myfolder/inc/library/ |
CORE_PATH | /data/user/myfolder/inc/library/think/ |
TRAIT_PATH | /data/user/myfolder/inc/library/traits/ |
ROOT_PATH | /data/user/myfolder/ |
EXTEND_PATH | /data/user/myfolder/extend/ |
VENDOR_PATH | /data/user/myfolder/vendor/ |
RUNTIME_PATH | /data/user/myfolder/runtime/ |
LOG_PATH | /data/user/myfolder/runtime/log/ |
CACHE_PATH | /data/user/myfolder/runtime/cache/ |
TEMP_PATH | /data/user/myfolder/runtime/temp/ |
CONF_PATH | ../myfolder/application/ |
CONF_EXT | .php |
ENV_PREFIX | PHP_ |
IS_CLI | false |
IS_WIN | false |
url | /ben/yxzx/193773.shtml |
ref | |
ent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
site | http://wap.few82.com/ |
road | ?road=moutil.com/ben/yxzx/193773.shtml |
memes | ?road=moutil.com/ben/yxzx/193773.shtml&referer= |
regs | @BaiduSpider|Sogou|Yisou|Haosou|360Spider@i |
mobile | /phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/ |
area | true |