* @param integer|Response $code 状态码 或者 Response对象实例
* @param string $message 错误信息
* @param array $header 参数
*/
function abort($code, $message = null, $header = [])
{
if ($code instanceof Response) {
throw new HttpResponseException($code);
} else {
throw new HttpException($code, $message, null, $header);
}
}
}
if (!function_exists('action')) {
/**
* 调用模块的操作方法 参数格式 [模块/控制器/]操作
* @param string $url 调用地址
* @param string|array $vars 调用参数 支持字符串和数组
visitors_history_5daeefbd8ab28c93bf1cfbcc9cca6008 | 1 |
visitors_history_4acd03518fb18e20fd9479881d5c9d88 | 1 |
visitors_history_e0d21cd0bad00997a95e783866b58839 | 1 |
visitors_history_cff1670cb1dca426c20dfebba7b8e91d | 1 |
visitors_history_828e75a464a7e05fbbcd23a341f93c01 | 1 |
visitors_history_b6e350d1be2f3522ffe399f9b15c9316 | 1 |
visitors_history_00793fd20eb8068f5a6396470a293e76 | 1 |
visitors_history_5f8e3fddee1a07a0b1bbcc16010b21d8 | 1 |
visitors_history_452c2ef35b7c0b7bbfef3b486a30029f | 1 |
visitors_history_e400194c3f81694ec040f19e17417ab2 | 1 |
visitors_history_54334beaec83ba1835b6179c365ae527 | 1 |
visitors_history_d701e6033ef04497b02c9fbb2d7bac05 | 1 |
visitors_history_cdd95a1366dfb6249e2c26db9d8ae841 | 1 |
PHPSESSID | ds2430bkuqe5h0ud9orc3gihqd |
visitors_history_0d234f1b6dc6c0438a22af04e1df3827 | 1 |
visitors_history_23c1136c6a7a02e0f6f485905fe4c19d | 1 |
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | //sitemap.xml |
QUERY_STRING | |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_URL | /sitemap.xml |
REMOTE_PORT | 39034 |
SCRIPT_FILENAME | /www/wwwroot/innermed.com/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/innermed.com/ |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /www/wwwroot/innermed.com/ |
REMOTE_ADDR | 104.140.77.178 |
SERVER_PORT | 443 |
SERVER_ADDR | 172.16.221.88 |
SERVER_NAME | www.innermed.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | Apache Server at www.innermed.com Port 443 |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
HTTP_COOKIE | visitors_history_5daeefbd8ab28c93bf1cfbcc9cca6008=1; visitors_history_4acd03518fb18e20fd9479881d5c9d88=1; visitors_history_e0d21cd0bad00997a95e783866b58839=1; visitors_history_cff1670cb1dca426c20dfebba7b8e91d=1; visitors_history_828e75a464a7e05fbbcd23a341f93c01=1; visitors_history_b6e350d1be2f3522ffe399f9b15c9316=1; visitors_history_00793fd20eb8068f5a6396470a293e76=1; visitors_history_5f8e3fddee1a07a0b1bbcc16010b21d8=1; visitors_history_452c2ef35b7c0b7bbfef3b486a30029f=1; visitors_history_e400194c3f81694ec040f19e17417ab2=1; visitors_history_54334beaec83ba1835b6179c365ae527=1; visitors_history_d701e6033ef04497b02c9fbb2d7bac05=1; visitors_history_cdd95a1366dfb6249e2c26db9d8ae841=1; PHPSESSID=ds2430bkuqe5h0ud9orc3gihqd; visitors_history_0d234f1b6dc6c0438a22af04e1df3827=1; visitors_history_23c1136c6a7a02e0f6f485905fe4c19d=1 |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.innermed.com |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
proxy-nokeepalive | 1 |
SSL_TLS_SNI | www.innermed.com |
HTTPS | on |
REDIRECT_STATUS | 200 |
REDIRECT_SSL_TLS_SNI | www.innermed.com |
REDIRECT_HTTPS | on |
REDIRECT_PATH_INFO | sitemap.xml |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1749434257.7294 |
REQUEST_TIME | 1749434257 |
ROOT_PATH | /www/wwwroot/innermed.com/ |
APP_PATH | /www/wwwroot/innermed.com/application/ |
DS | / |
ROOT_URL | / |
ROOT_HOME | /www/wwwroot/innermed.com/application/index/ |
TEMPLATE_PATH | /www/wwwroot/innermed.com/templates/ |
FILTER_VALIDATE_BOOL | 258 |
PINYIN_DEFAULT | 4096 |
PINYIN_TONE | 2 |
PINYIN_NO_TONE | 4 |
PINYIN_ASCII_TONE | 8 |
PINYIN_NAME | 16 |
PINYIN_KEEP_NUMBER | 32 |
PINYIN_KEEP_ENGLISH | 64 |
PINYIN_UMLAUT_V | 128 |
PINYIN_KEEP_PUNCTUATION | 256 |
ADDON_PATH | /www/wwwroot/innermed.com/addons/ |