$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());
}
// 获取当前操作名
$action = $this->actionName . $this->rule->getConfig('action_suffix');
if (is_callable([$instance, $action])) {
// 执行操作方法
$call = [$instance, $action];
PATH | C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\VisualSVN Server\bin; |
SYSTEMROOT | C:\Windows |
COMSPEC | C:\Windows\system32\cmd.exe |
PATHEXT | .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC |
WINDIR | C:\Windows |
PHP_FCGI_MAX_REQUESTS | 1000 |
PHPRC | D:/phpstudy/PHPTutorial/php/php-7.2.1-nts/ |
_FCGI_SHUTDOWN_EVENT_ | 1860 |
HTTP_CONNECTION | close |
SCRIPT_NAME | /index.php |
REQUEST_URI | /html/1811/10027.html |
QUERY_STRING | |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_URL | /html/1811/10027.html |
REMOTE_PORT | 40962 |
SCRIPT_FILENAME | D:/phpstudy/PHPTutorial/WWW/ztjy/public/index.php |
SERVER_ADMIN | admin@php.cn |
CONTEXT_DOCUMENT_ROOT | D:/phpstudy/PHPTutorial/WWW/ztjy/public |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | D:/phpstudy/PHPTutorial/WWW/ztjy/public |
REMOTE_ADDR | 3.239.162.98 |
SERVER_PORT | 80 |
SERVER_ADDR | 115.29.34.77 |
SERVER_NAME | www.ztjyw.cn |
SERVER_SOFTWARE | Apache/2.4.23 (Win32) OpenSSL/1.0.2j mod_fcgid/2.3.9 |
SERVER_SIGNATURE | |
SystemRoot | C:\Windows |
HTTP_HOST | www.ztjyw.cn |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
REDIRECT_STATUS | 200 |
REDIRECT_PATH_INFO | html/1811/10027.html |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711727996.3329 |
REQUEST_TIME | 1711727996 |
PATH_INFO | html/1811/10027.html |
WEB_PATH | D:\phpstudy\PHPTutorial\WWW\ztjy\public |