// 设置当前请求的控制器、操作
$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'])) {
care_did | c877400c-cad3-47ba-88ab-f62d713de16b |
RWSESSID | 3a1f3c09e25266caa53025a742c75f54 |
CFID | 380551747 |
CFTOKEN | 455d4b3c86def553-3D8D1FDE-2006-CA18-C97E8D2B664563E7 |
fikker-61vm-nk2N | MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E |
USER | nobody |
HOME | / |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /data/user/htdocs/index.php |
PATH_INFO | /ben/s=/news/article/detail/id/wap724568.shtml |
QUERY_STRING | s=/ben/s=/news/article/detail/id/wap724568.shtml |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /ben/s=/news/article/detail/id/wap724568.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 | 18.188.233.69 |
REMOTE_PORT | 36536 |
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/s=/news/article/detail/id/wap724568.shtml |
HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
HTTP_COOKIE | care_did=c877400c-cad3-47ba-88ab-f62d713de16b; RWSESSID=3a1f3c09e25266caa53025a742c75f54; CFID=380551747; CFTOKEN=455d4b3c86def553%2D3D8D1FDE%2D2006%2DCA18%2DC97E8D2B664563E7; fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E |
HTTP_HOST | moutil.com |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1735270066.2771 |
REQUEST_TIME | 1735270066 |
APP_PATH | ../myfolder/application/ |
BIND_MODULE | index |
THINK_VERSION | 5.0.6 |
THINK_START_TIME | 1735270066.2772 |
THINK_START_MEM | 229440 |
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/s=/news/article/detail/id/wap724568.shtml |
ref | http://moutil.com/ben/s=/news/article/detail/id/wap724568.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/s=/news/article/detail/id/wap724568.shtml |
memes | ?road=moutil.com/ben/s=/news/article/detail/id/wap724568.shtml&referer=http%3A%2F%2Fmoutil.com%2Fben%2Fs%3D%2Fnews%2Farticle%2Fdetail%2Fid%2Fwap724568.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 |