From bc746ac6db255a323a4fa0d2c44a308f9928b9e2 Mon Sep 17 00:00:00 2001 From: lmrwork <59361885@qq.com> Date: Wed, 17 Oct 2018 15:43:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0PC=20AMP=20BODY=20|=20fix=204?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/info_amp.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index 5c25a9fa..54a446cf 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -24,7 +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); - if ($pc_html == 0) $pc_html = 'error'; + if ($pc_html == 0) { + die($_POST['pc_html']); + $pc_html = 'error'; + } $css = $this->input->get_post('css'); $schema = $this->input->get_post('schema'); $script = $this->input->get_post('script');