取消权限判断

hotfix/远程访问多媒体中心
尹诚诚 7 years ago
parent 35df558908
commit 9e48778e0a

@ -19,8 +19,6 @@ class Province extends CI_Controller
public function index($province_id=0) public function index($province_id=0)
{ {
$this->load->library('Accesscheck');
$this->accesscheck->check_access();
//查询不到省份信息则显示错误 //查询不到省份信息则显示错误
$data['province'] = $this->Area_model->get_province($province_id); $data['province'] = $this->Area_model->get_province($province_id);
if ($data['province'] == FALSE) if ($data['province'] == FALSE)

@ -14,8 +14,6 @@ class Seo extends CI_Controller {
$this->load->model('InfoContents_model'); $this->load->model('InfoContents_model');
$this->load->model('InfoStructures_model'); $this->load->model('InfoStructures_model');
$this->load->model('InfoSEOs_model'); $this->load->model('InfoSEOs_model');
$this->load->library('Accesscheck');
$this->accesscheck->check_access();
} }
public function index() { public function index() {

@ -1280,11 +1280,7 @@
<div class="clearfix"></div> <div class="clearfix"></div>
<div class="btn-group col-xs-24 nopadding pull-right <?php <div class="btn-group col-xs-24 nopadding pull-right">
if ($is_writeable == 0) {
echo 'hide';
}
?>">
<input type="hidden" name="rule_check_flag" id="rule_check_flag" value="1"> <input type="hidden" name="rule_check_flag" id="rule_check_flag" value="1">
<a href="javascript:void(0);" class="btn btn-primary col-xs-19" onclick="editor.sync(); <a href="javascript:void(0);" class="btn btn-primary col-xs-19" onclick="editor.sync();
if (editor.html() != '' && editor.text() == '') { if (editor.html() != '' && editor.text() == '') {

Loading…
Cancel
Save