if( !$news_id || !is_numeric($news_id)){
throw new \Exception("Error Processing Request", 1);
}
// 详情 内容
$that = NewsModel::get($news_id);
if( $that['is_pass'] == 0 || $that['is_del'] == 1 ) {
throw new \Exception("Error Processing Request", 1);
}
// 详情模板 b_tpl
$b_tpl = Config::get('cms.b_tpl');
$cate_b_tpl = $this->cate_model->cate_b_tpl($that['belong_cate_id']);
$that_tpl = $b_tpl[$cate_b_tpl]['tpl_path'];
// 主栏目名称 及 当前位置
$cate_path_arr = $this->cate_model->cate_path_arr($that['belong_cate_id']);
USER | www |
HOME | /home/www |
HTTP_REFERER | http://daheyuqing.com/news/8715.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | daheyuqing.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.daheyuqing.com |
SERVER_PORT | 443 |
SERVER_ADDR | 122.114.247.4 |
REMOTE_PORT | 42038 |
REMOTE_ADDR | 18.207.126.53 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/www.daheyuqing.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /news/8715.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/news/8715.html |
SCRIPT_FILENAME | /www/wwwroot/www.daheyuqing.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711552.9545 |
REQUEST_TIME | 1711711552 |