From dd8bf09feb11dc3a0150cbbbac73383fce7a385f Mon Sep 17 00:00:00 2001 From: cyc Date: Wed, 20 Feb 2019 14:18:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9D=99=E6=80=81=E5=8C=96?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third_party/htmlcompressor/controllers/index_gm.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/application/third_party/htmlcompressor/controllers/index_gm.php b/application/third_party/htmlcompressor/controllers/index_gm.php index 5537aedb..97b4979b 100644 --- a/application/third_party/htmlcompressor/controllers/index_gm.php +++ b/application/third_party/htmlcompressor/controllers/index_gm.php @@ -22,6 +22,9 @@ class Index_gm extends CI_Controller $this->create_amp = $this->input->post('create_amp'); $this->debug = $this->input->post('debug'); + /*$this->htmlsource = file_get_contents('aa.htm'); + $this->websitehost = 'https://data.chinarundreisen.com';*/ + if (empty($this->htmlsource) || empty($this->websitehost)) { $this->output->set_status_header(500); echo 'error:htmlsource or websitehost is empty!'; @@ -95,6 +98,10 @@ class Index_gm extends CI_Controller //$js_content.= $link_script->innertext;//js的内容 // $js_content.= $link_script;//js的内容,包含