if ($this->param['auto_search']) {
$controller = $this->autoFindController($module, $path);
} else {
// 解析控制器
$controller = !empty($path) ? array_shift($path) : null;
}
if ($controller && !preg_match('/^[A-Za-z][\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;
PHPSESSID | vakv6s499vm6in0c0n06u0u6p9 |
think_var | zh-cn |
USER | www |
HOME | /home/www |
HTTP_COOKIE | PHPSESSID=vakv6s499vm6in0c0n06u0u6p9; think_var=zh-cn |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.wujunsolar.com |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.0; +https://openai.com/gptbot) |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | wujun.xuejiaoso.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.25.42.13 |
REMOTE_PORT | 53176 |
REMOTE_ADDR | 170.130.200.186 |
SERVER_SOFTWARE | nginx/1.20.2 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.wujunsolar.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /aabf/1bciqlbn.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/aabf/1bciqlbn.html |
SCRIPT_FILENAME | /www/wwwroot/www.wujunsolar.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1707266015.0139 |
REQUEST_TIME | 1707266015 |
IF_PUBLIC | true |
ROOT_PATH | /www/wwwroot/www.wujunsolar.com/public/../ |
APP_PATH | /www/wwwroot/www.wujunsolar.com/public/../application/ |
ADDON_PATH | /www/wwwroot/www.wujunsolar.com/public/../addons/ |
ROOT_URL | / |
TEMPLATE_PATH | /www/wwwroot/www.wujunsolar.com/public/../public/templates/ |
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 |