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;