From cbc51e1c68a6b0e300e4bc38f8abbaf3336b24cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=91=E7=AB=99=E7=BD=91?= Date: Mon, 30 Jan 2023 05:14:37 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=B3=E9=97=AD=20RSS?= =?UTF-8?q?=E5=90=8E=E5=AF=BC=E8=AF=BB=E9=A1=B5=E9=9D=A2=E4=BB=8D=E7=84=B6?= =?UTF-8?q?=E6=98=BE=E7=A4=BARSS=E5=9B=BE=E6=A0=87=E3=80=81RSS=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E4=BB=8D=E7=84=B6=E6=9C=89=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 科站网 --- upload/source/module/forum/forum_guide.php | 3 +++ upload/template/default/forum/guide.htm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/upload/source/module/forum/forum_guide.php b/upload/source/module/forum/forum_guide.php index cb5d6d04d..eb00f31f6 100644 --- a/upload/source/module/forum/forum_guide.php +++ b/upload/source/module/forum/forum_guide.php @@ -27,6 +27,9 @@ $perpage = 50; $start = $perpage * ($_G['page'] - 1); $data = array(); if($_GET['rss'] == 1) { + if(!$_G['setting']['rssstatus']) { + exit('RSS Disabled'); + } if($view == 'index' || $view == 'my') { showmessage('URL_ERROR'); } diff --git a/upload/template/default/forum/guide.htm b/upload/template/default/forum/guide.htm index 901545bdf..eb778c7f6 100644 --- a/upload/template/default/forum/guide.htm +++ b/upload/template/default/forum/guide.htm @@ -16,7 +16,7 @@