if ($this->param['auto_search']) {
$controller = $this->autoFindController($module, $path);
} else {
// 解析控制器
$controller = !empty($path) ? array_shift($path) : null;
}
if ($controller && !preg_match('/^[A-Za-z0-9][\w|\.]*$/', $controller)) {
throw new HttpException(404, 'controller not exists:' . $controller);
}
// 解析操作
$action = !empty($path) ? array_shift($path) : null;
// 解析额外参数
if ($path) {
if ($this->rule->getConfig('url_param_type')) {
$var += $path;
/en/list-29 |
_wtsexp | 1732836007 |
_wtscpk | fc8292462a |
_wtsuid | cf6fda8d-ae93-44b3-b44b-9b444a39103a |
_wtspurl | /list-30/p1 |
home_lang | en |
USER | xinghecastcom |
HOME | /home/wwwroot/xinghecastcom |
SCRIPT_NAME | /index.php |
REQUEST_URI | /en/list-29 |
QUERY_STRING | /en/list-29 |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | /en/list-29 |
REDIRECT_URL | /en/list-29 |
REMOTE_PORT | 54848 |
SCRIPT_FILENAME | /home/wwwroot/xinghecastcom/wwwroot/index.php |
SERVER_ADMIN | [no address given] |
CONTEXT_DOCUMENT_ROOT | /home/wwwroot/xinghecastcom/wwwroot |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | /home/wwwroot/xinghecastcom/wwwroot |
REMOTE_ADDR | 23.90.23.210 |
SERVER_PORT | 80 |
SERVER_ADDR | 127.0.0.1 |
SERVER_NAME | www.xinghecast.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
HTTP_COOKIE | _wtsexp=1732836007; _wtscpk=fc8292462a; _wtsuid=cf6fda8d-ae93-44b3-b44b-9b444a39103a; _wtspurl=/list-30/p1; home_lang=en |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_CONNECTION | close |
HTTP_HOST | www.xinghecast.com |
HTTP_X_REAL_IP | 23.90.23.210 |
HTTP_X_FORWARDED_FOR | 23.90.23.210 |
proxy-nokeepalive | 1 |
REDIRECT_STATUS | 200 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1734801289.3572 |
REQUEST_TIME | 1734801289 |
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 |
QINIU_FUNCTIONS_VERSION | 7.4.0 |