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;
think | { "site_info": { "id": 149, "name": "\u533b\u836f3", "site_url": "www.selmedi.com", "category_id": 0, "anchor_text_type": 1, "seo_title": "Selmedi Guest Blogging Platform", "seo_description": "Join our platform and share your beauty and personal care expertise through guest blog posts.", "news_url_prefix": "blog", "sync_status": 1, "sync_time": 0, "sync_news_num": 0, "news_num": 9, "anchor_text_num": 3, "latest_gathering_time": 0, "created_at": "2024-04-12 09:49:35", "updated_at": "2024-04-12 09:50:40", "deleted_at": 0, "gathering_news_num": 0, "is_complex": 2, "template_id": 2, "is_gathering_timing_update": 2, "gathering_day_update_num": 30, "query_record_time": 1713027614, "record_num": "", "record_median_num": "0", "record_rate": "", "cycle_status": 2, "html_cache": 1, "number": "", "group": "5" } } |
USER | www |
HOME | /home/www |
HTTP_REFERER | https://selmedi.com/tag/%E5%91%A8%E6%B3%A2%E6%95%B0/ |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.selmedi.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | selmedi.com |
SERVER_PORT | 443 |
SERVER_ADDR | 154.9.25.69 |
REMOTE_PORT | 45753 |
REMOTE_ADDR | 18.116.37.228 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/xbblogshow/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /tag/%E5%91%A8%E6%B3%A2%E6%95%B0/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/tag/%E5%91%A8%E6%B3%A2%E6%95%B0/ |
SCRIPT_FILENAME | /www/wwwroot/xbblogshow/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1713457106.5292 |
REQUEST_TIME | 1713457106 |