解决没有cache path的检查

ct-mobile-first
ycc 5 years ago
parent 7af4e5b5bb
commit 3e6c03d8e6

@ -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('<!--@MAIN-CSS@-->', '<style type="text/css">' . $main_css_string . '</style>', $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');

Loading…
Cancel
Save