* @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 | %E5%8D%81%E7%97%85%E5%8C%BA%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E8%84%BE%E8%83%83%E7%A7%91%E3%80%81%E8%82%9D%E7%97%85%E7%A7%91 |
id | 3 |
per_id | 201 |
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 | 48246 |
REMOTE_ADDR | 3.231.3.140 |
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=%25E5%258D%2581%25E7%2597%2585%25E5%258C%25BA%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%25E8%2584%25BE%25E8%2583%2583%25E7%25A7%2591%25E3%2580%2581%25E8%2582%259D%25E7%2597%2585%25E7%25A7%2591&id=3&per_id=201 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//Doctorsny.asp&clastitle=%25E5%258D%2581%25E7%2597%2585%25E5%258C%25BA%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%25E8%2584%25BE%25E8%2583%2583%25E7%25A7%2591%25E3%2580%2581%25E8%2582%259D%25E7%2597%2585%25E7%25A7%2591&id=3&per_id=201 |
SCRIPT_FILENAME | /www/wwwroot/hnhyzyy.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711695488.9884 |
REQUEST_TIME | 1711695488 |
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 |