// 设置当前请求的控制器、操作
$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'])) {
tid | wap853824.shtml |
laikanxia_google_v | 2 |
HandLtestDomainNameServer | HandLtestDomainValueServer |
handl_landing_page | https://ifftb.com/wp-json/wp/v2/docs/10367 |
user_agent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
USER_CITY | sh |
laikanxia_cookie_id | 241122050730873 |
handl_ip | 3.146.152.147 |
handl_url_base | https://locusag.com/wp-json/wp/v2/tags/317 |
handl_url | https://locusag.com/wp-json/wp/v2/tags/317 |
USER | nobody |
HOME | / |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /data/user/htdocs/index.php |
PATH_INFO | /ben/mod=viewthread |
QUERY_STRING | s=/ben/mod=viewthread&tid=wap853824.shtml |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /ben/mod=viewthread&tid=wap853824.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.146.152.147 |
REMOTE_PORT | 20226 |
SERVER_ADDR | 10.21.232.236 |
SERVER_PORT | 443 |
SERVER_NAME | moutil.com |
REDIRECT_STATUS | 200 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_REFERER | http://moutil.com/ben/mod=viewthread&tid=wap853824.shtml |
HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
HTTP_COOKIE | laikanxia_google_v=2; HandLtestDomainNameServer=HandLtestDomainValueServer; handl_landing_page=https%3A%2F%2Fifftb.com%2Fwp-json%2Fwp%2Fv2%2Fdocs%2F10367; user_agent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29; USER_CITY=sh; laikanxia_cookie_id=241122050730873; handl_ip=3.146.152.147; handl_url_base=https%3A%2F%2Flocusag.com%2Fwp-json%2Fwp%2Fv2%2Ftags%2F317; handl_url=https%3A%2F%2Flocusag.com%2Fwp-json%2Fwp%2Fv2%2Ftags%2F317 |
HTTP_HOST | moutil.com |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1732223313.1982 |
REQUEST_TIME | 1732223313 |
APP_PATH | ../myfolder/application/ |
BIND_MODULE | index |
THINK_VERSION | 5.0.6 |
THINK_START_TIME | 1732223313.1983 |
THINK_START_MEM | 232456 |
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/mod=viewthread&tid=wap853824.shtml |
ref | http://moutil.com/ben/mod=viewthread&tid=wap853824.shtml |
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/mod=viewthread&tid=wap853824.shtml |
memes | ?road=moutil.com/ben/mod=viewthread&tid=wap853824.shtml&referer=http%3A%2F%2Fmoutil.com%2Fben%2Fmod%3Dviewthread%26tid%3Dwap853824.shtml |
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 |