// echo('<br>=====start $controller=====<br>');
// print_r( $controller);
// echo('<br>======end======<br>');
if(is_numeric($controller)){//这里 如果为数字就会报错 重新设置一下
$controller = 'aaa' . $controller;
}
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;
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_X_FORWARDED_FOR | 3.238.254.78 |
HTTP_HOST | www.rocksidingguys.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | 28.com |
SERVER_PORT | 8080 |
SERVER_ADDR | 127.0.0.1 |
REMOTE_PORT | 35392 |
REMOTE_ADDR | 127.0.0.1 |
SERVER_SOFTWARE | nginx/1.25.3 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/28.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /wv/rock-siding-in-lester/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/wv/rock-siding-in-lester/ |
SCRIPT_FILENAME | /www/wwwroot/28.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711722686.5287 |
REQUEST_TIME | 1711722686 |
LOTUS_ROOT | /www/wwwroot/28.com/public/../ |
APP_PATH | /www/wwwroot/28.com/public/../application/ |
DS | / |
LOTUS_VERSION | 5.0 |