$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];
| _vstime | 1779467127 |
| USER | www |
| HOME | /home/www |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /themes/Factory/public/assets/images/favicon.png |
| QUERY_STRING | s=/themes/Factory/public/assets/images/favicon.png |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_QUERY_STRING | s=/themes/Factory/public/assets/images/favicon.png |
| REDIRECT_URL | /themes/Factory/public/assets/images/favicon.png |
| REMOTE_PORT | 36610 |
| SCRIPT_FILENAME | /www/wwwroot/shenzhou/public/index.php |
| SERVER_ADMIN | webmaster@example.com |
| CONTEXT_DOCUMENT_ROOT | /www/wwwroot/shenzhou/public |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | http |
| DOCUMENT_ROOT | /www/wwwroot/shenzhou/public |
| REMOTE_ADDR | 23.234.5.22 |
| SERVER_PORT | 80 |
| SERVER_ADDR | 172.20.7.250 |
| SERVER_NAME | www.sz1989.com |
| SERVER_SOFTWARE | Apache |
| SERVER_SIGNATURE | <address>Apache Server at www.sz1989.com Port 80</address> |
| LD_LIBRARY_PATH | /www/server/apache/lib |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
| HTTP_CLIENT_IP | 142.245.156.196 |
| HTTP_X_FORWARDED_FOR | 142.245.156.196 |
| HTTP_COOKIE | _vstime=1779467127 |
| HTTP_REFERER | http://www.sz1989.com |
| HTTP_ACCEPT | */* |
| HTTP_USER_AGENT | Mozilla/5.0 (Linux;u;Android 4.2.2;zh-cn;) AppleWebKit/534.46 (KHTML,like Gecko) Version/5.1 Mobile Safari/10600.6.3 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html) |
| HTTP_HOST | www.sz1989.com |
| proxy-nokeepalive | 1 |
| REDIRECT_STATUS | 200 |
| REDIRECT_dont-vary | 1 |
| REDIRECT_no-gzip | 1 |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1779467153.1318 |
| REQUEST_TIME | 1779467153 |
| APP_DEBUG | true |
| CMF_ROOT | /www/wwwroot/shenzhou/ |
| CMF_DATA | /www/wwwroot/shenzhou/data/ |
| APP_PATH | /www/wwwroot/shenzhou/app/ |
| WEB_ROOT | /www/wwwroot/shenzhou/public/ |
| HTMLPURIFIER_PREFIX | /www/wwwroot/shenzhou/vendor/ezyang/htmlpurifier/library |