// 解析模块
$module = $this->app->config('app_multi_module') ? array_shift($path) : null;
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->app['config']->get('url_param_type')) {
$var += $path;
} else {
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/carlodandrea.it/index.php |
QUERY_STRING | s=/en/made-in-china-2025-event-in-milano/ |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /en/made-in-china-2025-event-in-milano/ |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/carlodandrea.it |
SERVER_PROTOCOL | HTTP/2.0 |
REQUEST_SCHEME | https |
HTTPS | on |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.22.1 |
REMOTE_ADDR | 3.234.246.109 |
REMOTE_PORT | 45118 |
SERVER_ADDR | 172.31.196.234 |
SERVER_PORT | 443 |
SERVER_NAME | carlodandrea.it |
REDIRECT_STATUS | 200 |
PATH_INFO | /en/made-in-china-2025-event-in-milano/ |
HTTP_HOST | www.carlodandrea.it |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_REFERER | http://www.carlodandrea.it/en/made-in-china-2025-event-in-milano/ |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711705078.0901 |
REQUEST_TIME | 1711705078 |
ROOT_PATH | /www/wwwroot/carlodandrea.it |
APP_PATH | /www/wwwroot/carlodandrea.it/application |
WEB_URL | http://www.carlodandrea.it/ |