* @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 调用参数 支持字符串和数组
| think_shistory | think:[""] |
| USER | www |
| HOME | /home/www |
| PATH_TRANSLATED | redirect:/public/index.php/sitemap.xml |
| PATH_INFO | /sitemap.xml |
| SCRIPT_NAME | /public/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 | 59594 |
| SCRIPT_FILENAME | /www/wwwroot/website/www.hfepc.com/public/index.php |
| SERVER_ADMIN | webmaster@example.com |
| CONTEXT_DOCUMENT_ROOT | /www/wwwroot/website/www.hfepc.com |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | http |
| DOCUMENT_ROOT | /www/wwwroot/website/www.hfepc.com |
| REMOTE_ADDR | 107.158.192.122 |
| SERVER_PORT | 80 |
| SERVER_ADDR | 172.19.63.0 |
| SERVER_NAME | www.hfepc.com |
| SERVER_SOFTWARE | Apache |
| SERVER_SIGNATURE | Apache Server at www.hfepc.com Port 80 |
| LD_LIBRARY_PATH | /www/server/apache/lib |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin |
| HTTP_COOKIE | think_shistory=think%3A%5B%22%22%5D |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_HOST | www.hfepc.com |
| HTTP_USER_AGENT | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
| proxy-nokeepalive | 1 |
| REDIRECT_STATUS | 200 |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /public/index.php/sitemap.xml |
| REQUEST_TIME_FLOAT | 1793604841.7079 |
| REQUEST_TIME | 1793604841 |
| IF_PUBLIC | true |
| ROOT_PATH | /www/wwwroot/website/www.hfepc.com/public/../ |
| APP_PATH | /www/wwwroot/website/www.hfepc.com/public/../application/ |
| DS | / |
| ROOT_URL | /public/ |
| TEMPLATE_PATH | /www/wwwroot/website/www.hfepc.com/public/../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/website/www.hfepc.com/public/../addons/ |