|
|
|
|
@ -98,7 +98,7 @@ class Index extends CI_Controller {
|
|
|
|
|
//把网页内容和css提交到purifycss处理
|
|
|
|
|
$purifycss_server='http://184.172.113.219:33033/';
|
|
|
|
|
if($this->config->item('site_code')=='gm'){
|
|
|
|
|
$purifycss_server='http://158.177.67.52:13331/';
|
|
|
|
|
$purifycss_server='http://158.177.67.52:33033/';
|
|
|
|
|
}
|
|
|
|
|
$optimize_css = GET_HTTP($purifycss_server, 'html_source=' . urlencode($htmlsource) . '&html_css=' . urlencode($css_content), 'POST');
|
|
|
|
|
if (empty($optimize_css)) {
|
|
|
|
|
|