From f9d0ebb0a69a8735dc615b18b7771b96420214e7 Mon Sep 17 00:00:00 2001 From: lmrwork <59361885@qq.com> Date: Wed, 17 Oct 2018 15:48:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0PC=20AMP=20BODY=20|=20fix=206?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/info_amp.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index 4df3038a..566422fd 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -24,11 +24,10 @@ class Info_amp extends CI_Controller $json = $this->input->get_post('json'); $html = $this->input->get_post('html'); $pc_html = $this->input->post('pc_html', FALSE); - echo $pc_html; - if ($pc_html == 0) { + if (!$pc_html) { //die($_POST['pc_html']); //echo $pc_html; - $pc_html = 'error'; + $pc_html = 'error2'; } $css = $this->input->get_post('css'); $schema = $this->input->get_post('schema');