diff --git a/application/controllers/information.php b/application/controllers/information.php index a7f72047..9ebb58e0 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -336,13 +336,14 @@ class Information extends CI_Controller //主样式表,内联模式 $main_css_string=compress_css(GET_HTTP('https://proxy-data.chinahighlights.com/css/mobile-first.css')); $data['mobile_first_template'] = str_replace('', '', $data['mobile_first_template']); + //查找是否有静态文件 + if ($this->html_file_helper('find', $data['information']->ic_url)) { + $data['has_html_file'] = true; + } } else { $data['mobile_first_template'] = '没有找到移动模板'; } - //查找是否有静态文件 - if ($this->html_file_helper('find', $data['information']->ic_url)) { - $data['has_html_file'] = true; - } + $this->load->view('bootstrap3/header', $data); $this->load->view('bootstrap3/information_edit');