$available = true;
}
// 模块初始化
if ($module && $available) {
// 初始化模块
$this->request->setModule($module);
$this->app->init($module);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
}
// 是否自动转换控制器和操作名
$convert = is_bool($this->convert) ? $this->convert : $this->rule->getConfig('url_convert');
// 获取控制器名
$controller = strip_tags($result[1] ?: $this->rule->getConfig('default_controller'));
if (!preg_match('/^[A-Za-z](\w)*$/', $controller)) {
throw new HttpException(404, 'controller not exists:' . $controller);
action | erasecookie |
verify | 1909e861 |
REDIRECT_STATUS | 200 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | jafish.com |
PATH | /sbin:/usr/sbin:/bin:/usr/bin |
LD_LIBRARY_PATH | /alidata/server/httpd/lib |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips PHP/5.6.31 |
SERVER_NAME | jafish.com |
SERVER_ADDR | 172.18.1.33 |
SERVER_PORT | 80 |
REMOTE_ADDR | 3.81.139.99 |
DOCUMENT_ROOT | /alidata/www/fanli/public |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /alidata/www/fanli/public |
SERVER_ADMIN | you@example.com |
SCRIPT_FILENAME | /alidata/www/fanli/public/index.php |
REMOTE_PORT | 50608 |
REDIRECT_QUERY_STRING | action=erasecookie&verify=1909e861 |
REDIRECT_URL | /job.php |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | action=erasecookie&verify=1909e861 |
REQUEST_URI | /job.php?action=erasecookie&verify=1909e861 |
SCRIPT_NAME | /index.php |
PATH_INFO | /job.php |
PATH_TRANSLATED | redirect:/index.php/job.php |
PHP_SELF | /index.php/job.php |
REQUEST_TIME_FLOAT | 1711723321.348 |
REQUEST_TIME | 1711723321 |
RANDOM_COMPAT_READ_BUFFER | 8 |