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的内容,包含