注释掉调试代码

hotfix/远程访问多媒体中心
cyc 6 years ago
parent ed0266feb8
commit d4e17c5266

@ -80,7 +80,7 @@ class Index extends CI_Controller
//$js_content.= $link_script->innertext;//js的内容
// $js_content.= $link_script;//js的内容包含<script>
//含有$表示调用了jquery的函数添加延迟加载defer
//包含gtm的js引入就跳出循环
//包含gtm的js引入就跳出本次循环
if(strpos($link_script, 'https://www.googletagmanager.com/gtm.js')){
continue;
}

@ -98,7 +98,7 @@ class Index_gm extends CI_Controller
//$js_content.= $link_script->innertext;//js的内容
// $js_content.= $link_script;//js的内容包含<script>
//含有$表示调用了jquery的函数添加延迟加载defer
//包含gtm的js引入就跳出循环
//包含gtm的js引入就跳出本次循环
if(strpos($link_script, 'https://www.googletagmanager.com/gtm.js')){
continue;
}
@ -326,8 +326,6 @@ class Index_gm extends CI_Controller
$css_content .= $style->innertext;
$style->outertext = '';
}
print_r($this->html_object->find('style'));
die();
//把网页内容和css提交到purifycss处理
$purifycss_server = 'http://158.177.67.52:33033/';

Loading…
Cancel
Save