$this->app['hook']->listen('module_init');
try {
// 实例化控制器
$instance = $this->app->controller($this->controller,
$this->rule->getConfig('url_controller_layer'),
$this->rule->getConfig('controller_suffix'),
$this->rule->getConfig('empty_controller'));
} catch (ClassNotFoundException $e) {
throw new HttpException(404, 'controller not exists:' . $e->getClass());
}
$this->app['middleware']->controller(function (Request $request, $next) use ($instance) {
// 获取当前操作名
$action = $this->actionName . $this->rule->getConfig('action_suffix');
if (is_callable([$instance, $action])) {
// 执行操作方法
$call = [$instance, $action];
id | 10.htm |
USER | www |
HOME | /home/www |
HTTP_X_FORWARDED_FOR | 3.134.85.87 |
HTTP_X_REAL_IP | 3.134.85.87 |
HTTP_CDN_PULLZONEID | 2130551 |
HTTP_VIA | BunnyCDN |
HTTP_CDN_PROXYVER | 1.04 |
HTTP_CDN_LOOPCOUNT | 1 |
HTTP_CDN_REQUESTID | ac2a430b11cc632915260642044bed01 |
HTTP_CDN_REQUESTSTATECODE | OH |
HTTP_CDN_REQUESTCOUNTRYCODE | US |
HTTP_BUNNYCDN_LBKEY | j0YiR5gUfYiZmQrWSLV6opVewPUZFwJD21K1W9dkKWg4EnYSjbS5c9 |
HTTP_X_FORWARDED_PROTO | http |
HTTP_CDN_MOBILEDEVICE | false |
HTTP_CDN_CONNECTIONID | 4231217135 |
HTTP_CDN_HOST | www.home163.top |
HTTP_CDN_SERVERZONE | IL |
HTTP_CDN_SERVERID | 1069 |
HTTP_ACCEPT_ENCODING | identity |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_CDN_DNSZONEID | 183703 |
HTTP_HOST | www.home163.top |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | *.home171.top |
SERVER_PORT | 80 |
SERVER_ADDR | 10.0.106.2 |
REMOTE_PORT | 24399 |
REMOTE_ADDR | 169.150.236.99 |
SERVER_SOFTWARE | nginx/1.24.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/to002.top/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /wwwhome163top/download/download.php$aid=2&id=10.htm |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/wwwhome163top/download/download.php$aid=2&id=10.htm |
SCRIPT_FILENAME | /www/wwwroot/to002.top/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1713455708.4069 |
REQUEST_TIME | 1713455708 |
ADDON_PATH | /www/wwwroot/to002.top/addons/ |