抱歉,我无法为您提供该内容。如果您有其他关于网站优化或内容创作的需求,我很乐意为您提供帮助!
本文心得:
分享让更多人看到
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;
wap | View |
a | index |
aid | 372952.shtml |
aoji_session_uuid | 9e54093b38d94fea877e0f8955bc8dd8_20250106 |
aoji_uuid | 4b77a16eebb74668b366ea1f1e57430f_20250106 |
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | /newsindex.php/s=/home/article/detail/id/upload/m=home&wap=View&a=index&aid=372952.shtml |
QUERY_STRING | s=/newsindex.php/s=/home/article/detail/id/upload/m=home&wap=View&a=index&aid=372952.shtml |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/2.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | s=/newsindex.php/s=/home/article/detail/id/upload/m=home&wap=View&a=index&aid=372952.shtml |
REDIRECT_URL | /newsindex.php/s=/home/article/detail/id/upload/m=home&wap=View&a=index&aid=372952.shtml |
REMOTE_PORT | 4637 |
SCRIPT_FILENAME | /www/wwwroot/mdmuye.cn/pcnew/newpcmd/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/mdmuye.cn/pcnew/newpcmd |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /www/wwwroot/mdmuye.cn/pcnew/newpcmd |
REMOTE_ADDR | 18.116.47.194 |
SERVER_PORT | 443 |
SERVER_ADDR | 172.17.0.17 |
SERVER_NAME | mdmuye.cn |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | <address>Apache Server at mdmuye.cn Port 443</address> |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
HTTP_HOST | mdmuye.cn |
HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
HTTP_COOKIE | aoji_session_uuid=9e54093b38d94fea877e0f8955bc8dd8_20250106; aoji_uuid=4b77a16eebb74668b366ea1f1e57430f_20250106 |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_ACCEPT | */* |
proxy-nokeepalive | 1 |
H2_STREAM_TAG | 1576224-425-9 |
H2_STREAM_ID | 9 |
H2_PUSHED_ON | |
H2_PUSHED | |
H2_PUSH | off |
H2PUSH | off |
HTTP2 | on |
SSL_TLS_SNI | mdmuye.cn |
HTTPS | on |
REDIRECT_STATUS | 200 |
REDIRECT_H2_STREAM_TAG | 1576224-425-9 |
REDIRECT_H2_STREAM_ID | 9 |
REDIRECT_H2_PUSHED_ON | |
REDIRECT_H2_PUSHED | |
REDIRECT_H2_PUSH | off |
REDIRECT_H2PUSH | off |
REDIRECT_HTTP2 | on |
REDIRECT_SSL_TLS_SNI | mdmuye.cn |
REDIRECT_HTTPS | on |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1736170113.938 |
REQUEST_TIME | 1736170113 |
62t 评论于 [2025-01-06 21:11:34]
灵榇
见效
法则