$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];
public/plugins/Ueditor/dialogs/map/show_html |
PHPSESSID | 7juhckd4bnlhfm8qsd692li2ib |
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | /public/plugins/Ueditor/dialogs/map/show.html |
QUERY_STRING | public/plugins/Ueditor/dialogs/map/show.html |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | public/plugins/Ueditor/dialogs/map/show.html |
REDIRECT_URL | /public/plugins/Ueditor/dialogs/map/show.html |
REMOTE_PORT | 44454 |
SCRIPT_FILENAME | /www/fdy/jinlongxc/public/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/fdy/jinlongxc/public |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | /www/fdy/jinlongxc/public |
REMOTE_ADDR | 170.130.202.38 |
SERVER_PORT | 80 |
SERVER_ADDR | 172.19.61.153 |
SERVER_NAME | www.jinlongxc.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | Apache Server at www.jinlongxc.com Port 80 |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin |
HTTP_COOKIE | PHPSESSID=7juhckd4bnlhfm8qsd692li2ib |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.jinlongxc.com |
HTTP_USER_AGENT | CCBot/2.0 (https://commoncrawl.org/faq/) |
proxy-nokeepalive | 1 |
REDIRECT_STATUS | 200 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1675257365.4682 |
REQUEST_TIME | 1675257365 |
ROOR_PATH | /www/fdy/jinlongxc/public/../ |
APP_PATH | /www/fdy/jinlongxc/public/../application/ |
IMG_UPLOADS | /www/fdy/jinlongxc/public/../public/uploads/ |