$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'));
$this->controller = $convert ? strtolower($controller) : $controller;
PHPSESSID | 1srp14297rlmmipcsoeqbbj2e5 |
_lsuuid | uuid_66d257acdf247 |
USER | www |
HOME | /home/www |
HTTP_COOKIE | PHPSESSID=1srp14297rlmmipcsoeqbbj2e5; _lsuuid=uuid_66d257acdf247 |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.feirumen.com |
HTTP_USER_AGENT | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot) |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.feirumen.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.19.72.62 |
REMOTE_PORT | 57236 |
REMOTE_ADDR | 104.140.21.50 |
SERVER_SOFTWARE | nginx/1.16.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.feirumen.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /void(0) |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/void(0) |
SCRIPT_FILENAME | /www/wwwroot/www.feirumen.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1728320934.4196 |
REQUEST_TIME | 1728320934 |
myconf | { "db1": { "type": "mysql", "hostname": "127.0.0.1", "database": "feirumen_zbiao", "username": "root", "password": "9e71fa837ce8c76b", "hostport": "3306", "dsn": "", "params": [], "charset": "utf8", "prefix": "", "debug": true, "deploy": 0, "rw_separate": false, "master_num": 1, "slave_no": "", "read_master": false, "fields_strict": true, "resultset_type": "array", "auto_timestamp": false, "datetime_format": "Y-m-d H:i:s", "sql_explain": false, "builder": "", "query": "\\think\\db\\Query", "break_reconnect": false, "break_match_str": [] }, "zb_db_mgo": { "type": "\\think\\mongo\\Connection", "hostname": "127.0.0.1", "database": "zhaobiao", "username": "", "password": "", "hostport": "27017", "dsn": "", "params": [], "charset": "", "prefix": "", "debug": false, "deploy": 0, "rw_separate": false, "master_num": 1, "slave_no": "", "read_master": false, "fields_strict": true, "resultset_type": "array", "auto_timestamp": false, "datetime_format": "Y-m-d H:i:s", "sql_explain": false, "builder": "", "query": "\\think\\mongo\\Query", "break_reconnect": false, "break_match_str": [], "pk_convert_id": true }, "zb_db_msl": { "type": "mysql", "hostname": "127.0.0.1", "database": "zhaobiao", "username": "root", "password": "9e71fa837ce8c76b", "hostport": "3306", "dsn": "", "params": [], "charset": "utf8", "prefix": "", "debug": true, "deploy": 0, "rw_separate": false, "master_num": 1, "slave_no": "", "read_master": false, "fields_strict": true, "resultset_type": "array", "auto_timestamp": false, "datetime_format": "Y-m-d H:i:s", "sql_explain": false, "builder": "", "query": "\\think\\db\\Query", "break_reconnect": false, "break_match_str": [] } } |
FILTER_VALIDATE_BOOL | 258 |
MIN_FLOAT | -3.14E+100 |
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 |