$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 | hab110hakoqei8mod5ggucssk1 |
ASP_NET_SessionId | shyrtw1i0tjqmrdnia4uofpy |
USER | www |
HOME | /home/www |
HTTP_X_TENANT_FORWARD_FOR | 104.164.50.82 |
HTTP_COOKIE | PHPSESSID=hab110hakoqei8mod5ggucssk1; ASP.NET_SessionId=shyrtw1i0tjqmrdnia4uofpy |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_FORWARDED_FOR | 104.164.50.82, 104.164.50.82 |
HTTP_X_REAL_IP | 104.164.50.82 |
HTTP_HOST | www.bjbluesky.com.cn |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | bjbluesky.com.cn |
SERVER_PORT | 443 |
SERVER_ADDR | 172.21.26.202 |
REMOTE_PORT | 38642 |
REMOTE_ADDR | 198.16.54.42 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /mnt/7kzhanqun/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /vendors/lightbox/js/lightbox.min.map |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/vendors/lightbox/js/lightbox.min.map |
SCRIPT_FILENAME | /mnt/7kzhanqun/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1726705176.3469 |
REQUEST_TIME | 1726705176 |
APP_DEBUG | true |
CMF_ROOT | /mnt/7kzhanqun/ |
CMF_DATA | /mnt/7kzhanqun/data/ |
APP_PATH | /mnt/7kzhanqun/app/ |
WEB_ROOT | /mnt/7kzhanqun/public/ |
HTMLPURIFIER_PREFIX | /mnt/7kzhanqun/vendor/ezyang/htmlpurifier/library |
FILTER_VALIDATE_BOOL | 258 |
PINYIN_DEFAULT | 4096 |
PINYIN_TONE | 2 |
PINYIN_NO_TONE | 4 |
PINYIN_ASCII_TONE | 8 |
PINYIN_NAME | 16 |
PINYIN_KEEP_NUMBER | 32 |
PINYIN_KEEP_ENGLISH | 64 |
PINYIN_UMLAUT_V | 128 |
PINYIN_KEEP_PUNCTUATION | 256 |