$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 | f1ehkjlr8tn5m66vd9rtfsimr3 |
| nav | think:{"id":""} |
| _wtsexp | 1777263697 |
| _wtscpk | d3e651b9b6 |
| _wtsuid | f55f7c37-c371-4792-a93d-16b702080e39 |
| _wtspurl | /admin/admins.php |
| USER | darechem56 |
| HOME | /home/wwwroot/darechem56 |
| PATH_TRANSLATED | redirect:/index.php/sitemap.xml |
| PATH_INFO | /sitemap.xml |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /sitemap.xml |
| QUERY_STRING | |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_URL | /sitemap.xml |
| REMOTE_PORT | 34352 |
| SCRIPT_FILENAME | /home/wwwroot/darechem56/wwwroot/public/index.php |
| SERVER_ADMIN | [no address given] |
| CONTEXT_DOCUMENT_ROOT | /home/wwwroot/darechem56/wwwroot/public |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | http |
| DOCUMENT_ROOT | /home/wwwroot/darechem56/wwwroot/public |
| REMOTE_ADDR | 216.172.156.42 |
| SERVER_PORT | 80 |
| SERVER_ADDR | 127.0.0.1 |
| SERVER_NAME | www.darechem.com |
| SERVER_SOFTWARE | Apache |
| SERVER_SIGNATURE | |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| HTTP_COOKIE | PHPSESSID=f1ehkjlr8tn5m66vd9rtfsimr3; nav=think%3A%7B%22id%22%3A%22%22%7D; _wtsexp=1777263697; _wtscpk=d3e651b9b6; _wtsuid=f55f7c37-c371-4792-a93d-16b702080e39; _wtspurl=/admin/admins.php |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_CONNECTION | close |
| HTTP_HOST | www.darechem.com |
| HTTP_X_REAL_IP | 216.172.156.42 |
| HTTP_X_FORWARDED_FOR | 216.172.156.42 |
| HTTP_X_FORWARDED_PROTO | http |
| proxy-nokeepalive | 1 |
| REDIRECT_STATUS | 200 |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php/sitemap.xml |
| REQUEST_TIME_FLOAT | 1777584169.9263 |
| REQUEST_TIME | 1777584169 |
| APP_DEBUG | true |
| CMF_ROOT | /home/wwwroot/darechem56/wwwroot/ |
| CMF_DATA | /home/wwwroot/darechem56/wwwroot/data/ |
| APP_PATH | /home/wwwroot/darechem56/wwwroot/app/ |
| WEB_ROOT | /home/wwwroot/darechem56/wwwroot/public/ |
| HTMLPURIFIER_PREFIX | /home/wwwroot/darechem56/wwwroot/vendor/ezyang/htmlpurifier/library |