From e6afd6284ac81aaddbfac9380e684b13095afc4e Mon Sep 17 00:00:00 2001 From: whatsns <617035918@qq.com> Date: Wed, 12 Aug 2020 15:36:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=9A=84default=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E5=92=8Cfronzewap=E7=A7=BB=E5=8A=A8=E7=AB=AF=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E6=9B=B4=E6=96=B0=E8=80=81=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=BA=93=E5=92=8C=E4=B8=93=E6=A0=8F=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=88=B0=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=BA=93=E5=92=8C=E4=B8=93=E6=A0=8F=E6=A8=A1=E6=9D=BF=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/Newpage.php | 4 +++- application/controllers/Topic.php | 4 +++- application/views/default/header.php | 4 ++-- application/views/fronzewap/footer.php | 6 +++--- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/application/controllers/Newpage.php b/application/controllers/Newpage.php index 8d8d2d3..f66c6e7 100644 --- a/application/controllers/Newpage.php +++ b/application/controllers/Newpage.php @@ -11,7 +11,9 @@ class Newpage extends CI_Controller { $this->load->model ( 'question_model' ); } function index() { - +$url=url("ask/index"); +header("Location: $url"); +exit(); $navtitle = "站内问题库列表_"; $seo_description = $this->setting ['site_name'] . '最近更新相关内容。'; $seo_keywords = '站内问题库列表'; diff --git a/application/controllers/Topic.php b/application/controllers/Topic.php index 66fcfbb..0aeea07 100644 --- a/application/controllers/Topic.php +++ b/application/controllers/Topic.php @@ -566,7 +566,9 @@ class Topic extends CI_Controller { exit (); } function index() { - + $url=url("seo/index"); +header("Location: $url"); +exit(); $navtitle = "最新文章专栏推荐"; $seo_description = "推荐问答最新文章专栏,热门文章和最新文章推荐。"; $seo_keywords = "问答文章专栏"; diff --git a/application/views/default/header.php b/application/views/default/header.php index 293b8a5..69296df 100644 --- a/application/views/default/header.php +++ b/application/views/default/header.php @@ -34,9 +34,9 @@