$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];
| PHPSESSID | 142fmjh82fkmq3g17pkceha583 |
| USER | www |
| HOME | /home/www |
| FCGI_ROLE | RESPONDER |
| SCRIPT_FILENAME | /www/wwwroot/huangshanjinlei.com/public/index.php |
| QUERY_STRING | s=sitemap.xml |
| REQUEST_METHOD | GET |
| CONTENT_TYPE | |
| CONTENT_LENGTH | |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /sitemap.xml |
| DOCUMENT_URI | /index.php |
| DOCUMENT_ROOT | /www/wwwroot/huangshanjinlei.com/public |
| SERVER_PROTOCOL | HTTP/1.1 |
| REQUEST_SCHEME | http |
| GATEWAY_INTERFACE | CGI/1.1 |
| SERVER_SOFTWARE | nginx/1.23.4 |
| REMOTE_ADDR | 104.206.96.234 |
| REMOTE_PORT | 40614 |
| SERVER_ADDR | 172.26.146.168 |
| SERVER_PORT | 80 |
| SERVER_NAME | huangshanjinlei.com |
| REDIRECT_STATUS | 200 |
| PATH_INFO | |
| HTTP_USER_AGENT | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 |
| HTTP_HOST | www.huangshanjinlei.com |
| HTTP_ACCEPT | */* |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_COOKIE | PHPSESSID=142fmjh82fkmq3g17pkceha583 |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1754703511.8509 |
| REQUEST_TIME | 1754703511 |
| APP_DEBUG | true |
| CMF_ROOT | /www/wwwroot/huangshanjinlei.com/ |
| CMF_DATA | /www/wwwroot/huangshanjinlei.com/data/ |
| APP_PATH | /www/wwwroot/huangshanjinlei.com/app/ |
| WEB_ROOT | /www/wwwroot/huangshanjinlei.com/public/ |
| HTMLPURIFIER_PREFIX | /www/wwwroot/huangshanjinlei.com/vendor/ezyang/htmlpurifier/library |