From a90c87a32ded47bdba77a933e2a76d0678793b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Mon, 19 Jun 2017 09:53:21 +0800 Subject: [PATCH] =?UTF-8?q?ah=E7=AB=99=E7=82=B9=E9=BB=98=E8=AE=A4=E5=90=AF?= =?UTF-8?q?=E7=94=A8html=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 6 +----- application/views/bootstrap3/information_edit.php | 6 ------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index 3309bc53..e7e61f10 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -526,12 +526,8 @@ class Information extends CI_Controller { if ($delete_only === true) { $url = 'https://www.asiahighlights.com/index.php/information/delete_cache_8X913mksJ/?static_html_url=' . $url; } else { - $static_html_optimize = $this->input->get_post('static_html_optimize'); - if (!empty($static_html_optimize)) { + // static_html_optimize=comeon 启用静态化压缩和js、css延迟加载 $url = 'https://www.asiahighlights.com/index.php/information/detail/?static_html_url=' . $url . '&static_html_optimize=comeon'; - } else { - $url = 'https://www.asiahighlights.com/index.php/information/detail/?static_html_url=' . $url; - } } } else { //子站点使用 $url = $this->config->item('site_url') . $url . '@cache@refresh'; diff --git a/application/views/bootstrap3/information_edit.php b/application/views/bootstrap3/information_edit.php index 7bd648aa..f1b965a4 100644 --- a/application/views/bootstrap3/information_edit.php +++ b/application/views/bootstrap3/information_edit.php @@ -1163,12 +1163,6 @@ - config->item('site_code') == 'ah') { ?> -
- -
config->item('site_code') == 'ah')) { ?>