$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 | t381219ke5mdlaatjnmfdncbj1 |
| _wtsexp | 1768995520 |
| _wtscpk | 6fe6d1e67d |
| _wtsuid | f02b9e41-d4c9-4132-a5c0-84a23dd1ff85 |
| _wtspurl | /plug/aliyun/plug.xml |
| USER | darechem56 |
| HOME | /home/wwwroot/darechem56 |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /sitemap.xml |
| QUERY_STRING | s=sitemap.xml |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_QUERY_STRING | s=sitemap.xml |
| REDIRECT_URL | /sitemap.xml |
| REMOTE_PORT | 57318 |
| 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=t381219ke5mdlaatjnmfdncbj1; _wtsexp=1768995520; _wtscpk=6fe6d1e67d; _wtsuid=f02b9e41-d4c9-4132-a5c0-84a23dd1ff85; _wtspurl=/plug/aliyun/plug.xml |
| 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 |
| proxy-nokeepalive | 1 |
| REDIRECT_STATUS | 200 |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1774986567.088 |
| REQUEST_TIME | 1774986567 |
| 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 |