From 1b6299dc896370fe9d2048dfaadc2077d96b270a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Wed, 1 Sep 2021 09:55:45 +0800 Subject: [PATCH] =?UTF-8?q?GH=E7=AB=99=E7=82=B9=E5=8F=98=E4=B8=BAmobile=20?= =?UTF-8?q?first=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/welcome.php | 31 ----------------------------- application/helpers/info_helper.php | 2 +- 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php index 124bb9c6..0d36c528 100644 --- a/application/controllers/welcome.php +++ b/application/controllers/welcome.php @@ -218,37 +218,6 @@ class Welcome extends CI_Controller { } } - // $information->ic_content = $htm_doc->saveHTML(); - // $this->InfoContents_model->Update( - // $information->ic_id, - // $information->ic_url, - // $information->ic_url_title, - // $information->ic_type, - // $information->ic_title, - // $information->ic_content, - // $information->ic_summary, - // $information->ic_seo_title, - // $information->ic_seo_description, - // $information->ic_seo_keywords, - // $information->ic_show_bread_crumbs, - // $information->ic_status, - // $information->ic_template, - // $information->ic_photo, - // $information->ic_photo_width, - // $information->ic_photo_height, - // $information->ic_recommend_tours, - // $information->ic_recommend_packages, - // $information->ic_ht_area_id, - // $information->ic_ht_area_type, - // $information->ic_ht_product_id, - // $information->ic_ht_product_type, - // $information->ic_author); - // $this->echo_json(array( - // 'status' => 'ok', - // 'infoId' => $info_id, - // 'message' => 'success', - // 'date' => date('Y-m-d h:i:s') - // )); } public function count_redirect_nofollow() { diff --git a/application/helpers/info_helper.php b/application/helpers/info_helper.php index c392c9ae..db149a56 100644 --- a/application/helpers/info_helper.php +++ b/application/helpers/info_helper.php @@ -103,7 +103,7 @@ function is_mobile_first() { $CI = &get_instance(); $sitecode = $CI->config->item('site_code'); - if ($sitecode == 'ch' || $sitecode == 'ah' || $sitecode=='chinatravel') { + if ($sitecode == 'ch' || $sitecode == 'ah' || $sitecode=='chinatravel' || $sitecode == 'gh') { return true; } else { return false;