* @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 调用参数 支持字符串和数组
clastitle | %E4%B8%80%E7%97%85%E5%8C%BA%20%20%20%E6%A4%8E%E9%97%B4%E7%9B%98%E7%97%85%E7%A7%91%E2%85%A0 |
id | 95 |
per_id | 88 |
USER | www |
HOME | /home/www |
HTTP_HOST | hnhyzyy.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | hnhyzyy.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.26.175.130 |
REMOTE_PORT | 43580 |
REMOTE_ADDR | 3.95.39.127 |
SERVER_SOFTWARE | nginx/1.19.8 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/hnhyzyy.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /Doctorsny.asp?clastitle=%25E4%25B8%2580%25E7%2597%2585%25E5%258C%25BA%2520%2520%2520%25E6%25A4%258E%25E9%2597%25B4%25E7%259B%2598%25E7%2597%2585%25E7%25A7%2591%25E2%2585%25A0&id=95&per_id=88 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//Doctorsny.asp&clastitle=%25E4%25B8%2580%25E7%2597%2585%25E5%258C%25BA%2520%2520%2520%25E6%25A4%258E%25E9%2597%25B4%25E7%259B%2598%25E7%2597%2585%25E7%25A7%2591%25E2%2585%25A0&id=95&per_id=88 |
SCRIPT_FILENAME | /www/wwwroot/hnhyzyy.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711717094.8925 |
REQUEST_TIME | 1711717094 |
IF_PUBLIC | true |
ROOT_PATH | /www/wwwroot/hnhyzyy.com/public/../ |
APP_PATH | /www/wwwroot/hnhyzyy.com/public/../application/ |
DS | / |
ADDON_PATH | /www/wwwroot/hnhyzyy.com/public/../addons/ |
ROOT_URL | / |
TEMPLATE_PATH | /www/wwwroot/hnhyzyy.com/public/../templates/ |
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 |