$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];
/home_php | |
mod | spacecp |
ac | click |
op | add |
clickid | 1 |
idtype | aid |
id | 4241 |
hash | 83e2d73fd808237cdc422e4b3e386390 |
handlekey | clickhandle |
PATH | C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\ |
SYSTEMROOT | C:\Windows |
COMSPEC | C:\Windows\system32\cmd.exe |
PATHEXT | .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC |
WINDIR | C:\Windows |
PHPRC | D:/phpstudy_pro/Extensions/php/php7.0.9nts |
_FCGI_SHUTDOWN_EVENT_ | 12276 |
HTTP_CONNECTION | close |
SCRIPT_NAME | /index.php |
REQUEST_URI | /home.php?mod=spacecp&ac=click&op=add&clickid=1&idtype=aid&id=4241&hash=83e2d73fd808237cdc422e4b3e386390&handlekey=clickhandle |
QUERY_STRING | /home.php&mod=spacecp&ac=click&op=add&clickid=1&idtype=aid&id=4241&hash=83e2d73fd808237cdc422e4b3e386390&handlekey=clickhandle |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | /home.php&mod=spacecp&ac=click&op=add&clickid=1&idtype=aid&id=4241&hash=83e2d73fd808237cdc422e4b3e386390&handlekey=clickhandle |
REDIRECT_URL | /home.php |
REMOTE_PORT | 38682 |
SCRIPT_FILENAME | D:/qiche/index.php |
SERVER_ADMIN | admin@example.com |
CONTEXT_DOCUMENT_ROOT | D:/qiche |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | D:/qiche |
REMOTE_ADDR | 44.223.37.137 |
SERVER_PORT | 80 |
SERVER_ADDR | 172.27.206.29 |
SERVER_NAME | www.hebcar.net |
SERVER_SOFTWARE | Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02 |
SERVER_SIGNATURE | |
SystemRoot | C:\Windows |
HTTP_HOST | www.hebcar.net |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
REDIRECT_STATUS | 200 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711723298.7828 |
REQUEST_TIME | 1711723298 |
ENTER_NAME | HOME |
APP_PATH | D:\qiche/app/ |
DS | \ |
url | /home.php?mod=spacecp&ac=click&op=add&clickid=1&idtype=aid&id=4241&hash=83e2d73fd808237cdc422e4b3e386390&handlekey=clickhandle |
ref | Resource |
ent | claudebot |
site | http://se.seamusdavey-fitzpatrick.com |
road | /?road=/home.php?mod=spacecp&ac=click&op=add&clickid=1&idtype=aid&id=4241&hash=83e2d73fd808237cdc422e4b3e386390&handlekey=clickhandle |
regs | @Baidu|Sogou|Yisou|Haosou|Spider|So.com|Sm.cn@i |
area | false |
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 |
QINIU_FUNCTIONS_VERSION | 7.2.7 |
SITEID | 1 |
SITEALIAS | zh |
DEFAULTSITEID | 1 |