From 2db85207858d73588cfd93e813c79596f2d996da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Wed, 12 Dec 2018 16:07:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E4=BF=A1=E6=81=AF=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=9D=83=E9=99=90=E5=88=A4=E6=96=AD=EF=BC=8C=E4=BC=9A?= =?UTF-8?q?=E5=86=99=E5=85=A5session=E5=AF=BC=E8=87=B4CDN=E5=88=86?= =?UTF-8?q?=E5=8F=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 9 +-------- application/views/information_edit.php | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index cfead29f..56c36a15 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -20,8 +20,6 @@ class Information extends CI_Controller { $this->load->model('Infoauthors_model'); $this->load->model('InfoSMS_model'); $this->load->library('Amplib'); //加载AMP处理类 - $this->load->library('Accesscheck'); - $this->accesscheck->check_access(); } public function index() { @@ -144,12 +142,7 @@ class Information extends CI_Controller { } //查询结构列表信息 - //$data['informationList'] = $this->Information_model->StructureList($rootStructure_ID); - $data['informationList'] = $this->accesscheck->get_info_structure($rootStructure_ID); - if (!$data['informationList']) { - redirect(site_url('Login/refuse')); - } - $data['is_writeable'] = $this->accesscheck->get_edit_type($Structure->is_path); + $data['informationList'] = $this->Information_model->StructureList($rootStructure_ID); //增加一项,属于这个区域,但是结构数据层次不准确的也要列出来 //todo: diff --git a/application/views/information_edit.php b/application/views/information_edit.php index ceca7eb7..2017ff17 100644 --- a/application/views/information_edit.php +++ b/application/views/information_edit.php @@ -1043,7 +1043,7 @@

-
+