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');