amp页面处理d服务器变更

mobile-first
ycc 5 years ago
parent 0381a28a98
commit cfeb6062bb

@ -106,7 +106,7 @@ class Index extends CI_Controller
} }
//echo $js_content; //echo $js_content;
//把网页内容和css提交到purifycss处理 //把网页内容和css提交到purifycss处理
$purifycss_server = 'http://184.172.113.216:33033/'; $purifycss_server = 'http://169.54.167.189:33033/';
if (strpos($websitehost, 'chinarundreisen.com') !== false) {//德语站点使用自己的css处理服务器 if (strpos($websitehost, 'chinarundreisen.com') !== false) {//德语站点使用自己的css处理服务器
$purifycss_server = 'http://158.177.67.52:33033/'; $purifycss_server = 'http://158.177.67.52:33033/';
} }

@ -357,7 +357,7 @@ class Index_ah extends CI_Controller
} }
//把网页内容和css提交到purifycss处理 //把网页内容和css提交到purifycss处理
$purifycss_server = 'http://158.177.67.52:33033/'; $purifycss_server = 'http://169.54.167.189:33033/';
$optimize_css = GET_HTTP($purifycss_server, 'html_source=' . urlencode($content_main) . '&html_css=' . urlencode($css_content), 'POST'); $optimize_css = GET_HTTP($purifycss_server, 'html_source=' . urlencode($content_main) . '&html_css=' . urlencode($css_content), 'POST');
if (empty($optimize_css)) { if (empty($optimize_css)) {
$this->output->set_status_header(500); $this->output->set_status_header(500);

Loading…
Cancel
Save