From 05fb7facdd8a423d0872fb1a2bde2ffcf930ecbc Mon Sep 17 00:00:00 2001 From: lmrwork <59361885@qq.com> Date: Fri, 19 Oct 2018 12:42:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=87=8F=20AMP=20PC=20CSS=204?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/info_amp.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index 2ac24192..e50ab1a5 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -23,10 +23,8 @@ class Info_amp extends CI_Controller $icid = $this->input->get_post('icid'); $json = $this->input->get_post('json'); $html = $this->input->get_post('html'); - $pc_html = $this->input->post('pchtml'); - if ($pc_html == 0) $pc_html = ''; - $pc_css = $this->input->post('pccss'); - if ($pc_css == 0) $pc_css = ''; + $pc_html = $this->input->get_post('pchtml'); + $pc_css = $this->input->get_post('pccss'); $css = $this->input->get_post('css'); $schema = $this->input->get_post('schema'); $script = $this->input->get_post('script');