: $this->request->param();
$vars = array_merge($vars, $this->param);
} elseif (is_callable([$instance, '_empty'])) {
// 空操作
$call = [$instance, '_empty'];
$vars = [$this->actionName];
$reflect = new ReflectionMethod($instance, '_empty');
} else {
// 操作不存在
throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
}
$this->app['hook']->listen('action_begin', $call);
$data = $this->app->invokeReflectMethod($instance, $reflect, $vars);
return $this->autoResponse($data);
});
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | /index/article/lists/category_id/25.html |
QUERY_STRING | s=/index/article/lists/category_id/25.html |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | s=/index/article/lists/category_id/25.html |
REDIRECT_URL | /index/article/lists/category_id/25.html |
REMOTE_PORT | 46286 |
SCRIPT_FILENAME | /www/wwwroot/sdccph.com/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/sdccph.com |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | /www/wwwroot/sdccph.com |
REMOTE_ADDR | 23.22.236.90 |
SERVER_PORT | 80 |
SERVER_ADDR | 10.61.30.8 |
SERVER_NAME | sdccph.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | <address>Apache Server at sdccph.com Port 80</address> |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
HTTP_HOST | sdccph.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
proxy-nokeepalive | 1 |
REDIRECT_STATUS | 200 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711716122.0501 |
REQUEST_TIME | 1711716122 |
__ROOT__ | ./ |
TPL | ./template/default/ |