From 40dce1aa6e61e32905eace6d58ff5e182acfc94d Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Tue, 27 Jul 2021 13:43:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E7=BA=BF=E4=BF=A1=E6=81=AF=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E7=BB=93=E6=9E=84=E5=8C=96=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index 8112bdce..060c3917 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -629,13 +629,11 @@ class Information extends CI_Controller $addthis_widget = $this->load->view($template_path . '-add-this', false, true); $template = str_replace('', $addthis_widget, $template); - if ($information->is_id == '278006460') { - $article_structured_data_content = $this->load->view( - $template_path . '-structured-data-article', - array('information' => $information, 'author' => $author), - true); - $template = str_replace('', $article_structured_data_content, $template); - } + $article_structured_data_content = $this->load->view( + $template_path . '-structured-data-article', + array('information' => $information, 'author' => $author), + true); + $template = str_replace('', $article_structured_data_content, $template); } else { $template = str_replace('', '', $template); $inquiry_form_template = $this->load->view($template_path . '-inquiry-form', array('meta_product_code' => $meta_product_code), true);