$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;
lang | zh-hk |
PHP_EXTRA_CONFIGURE_ARGS | --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi |
HOSTNAME | ba7926436035 |
PHP_INI_DIR | /usr/local/etc/php |
HOME | /var/www |
PHP_LDFLAGS | -Wl,-O1 -Wl,--hash-style=both -pie |
PHP_CFLAGS | -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
PHP_MD5 | |
PHP_VERSION | 7.2.26 |
GPG_KEYS | 1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F |
PHP_CPPFLAGS | -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
PHP_ASC_URL | https://www.php.net/get/php-7.2.26.tar.xz.asc/from/this/mirror |
PHP_URL | https://www.php.net/get/php-7.2.26.tar.xz/from/this/mirror |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
PHP_MEMORY_LIMIT | 128M |
PHPIZE_DEPS | autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c |
PWD | /var/www/html |
PHP_SHA256 | 1dd3bc875e105f5c9d21fb4dc240670bd2c22037820ff03890f5ab883c88b78d |
USER | www-data |
HTTP_HOST | watsonswater.com.cn |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
REDIRECT_STATUS | 200 |
SERVER_NAME | watsonswater.com.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 172.20.0.2 |
REMOTE_PORT | 63201 |
REMOTE_ADDR | 3.144.116.159 |
SERVER_SOFTWARE | nginx/1.25.4 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /usr/share/nginx/html/watsonswater/public_html |
DOCUMENT_URI | /index.php |
REQUEST_URI | /SCM.Cloud.Web/Login/ChangeLanguage?lang=zh-hk |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/SCM.Cloud.Web/Login/ChangeLanguage&lang=zh-hk |
PATH_INFO | |
SCRIPT_FILENAME | /var/www/html/public_html/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1713459899.646 |
REQUEST_TIME | 1713459899 |
argv | [ "s=\/SCM.Cloud.Web\/Login\/ChangeLanguage&lang=zh-hk" ] |
argc | 1 |
PHP_EXTRA_CONFIGURE_ARGS | --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi |
HOSTNAME | ba7926436035 |
PHP_INI_DIR | /usr/local/etc/php |
HOME | /var/www |
PHP_LDFLAGS | -Wl,-O1 -Wl,--hash-style=both -pie |
PHP_CFLAGS | -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
PHP_MD5 | |
PHP_VERSION | 7.2.26 |
GPG_KEYS | 1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F |
PHP_CPPFLAGS | -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
PHP_ASC_URL | https://www.php.net/get/php-7.2.26.tar.xz.asc/from/this/mirror |
PHP_URL | https://www.php.net/get/php-7.2.26.tar.xz/from/this/mirror |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
PHP_MEMORY_LIMIT | 128M |
PHPIZE_DEPS | autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c |
PWD | /var/www/html |
PHP_SHA256 | 1dd3bc875e105f5c9d21fb4dc240670bd2c22037820ff03890f5ab883c88b78d |
USER | www-data |
HTTP_HOST | watsonswater.com.cn |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
REDIRECT_STATUS | 200 |
SERVER_NAME | watsonswater.com.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 172.20.0.2 |
REMOTE_PORT | 63201 |
REMOTE_ADDR | 3.144.116.159 |
SERVER_SOFTWARE | nginx/1.25.4 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /usr/share/nginx/html/watsonswater/public_html |
DOCUMENT_URI | /index.php |
REQUEST_URI | /SCM.Cloud.Web/Login/ChangeLanguage?lang=zh-hk |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/SCM.Cloud.Web/Login/ChangeLanguage&lang=zh-hk |
PATH_INFO | |
SCRIPT_FILENAME | /var/www/html/public_html/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1713459899.646 |
REQUEST_TIME | 1713459899 |
argv | [ "s=\/SCM.Cloud.Web\/Login\/ChangeLanguage&lang=zh-hk" ] |
argc | 1 |
ADMIN_FILE | admin.php |
HTMLPURIFIER_PREFIX | /var/www/html/vendor/ezyang/htmlpurifier/library |