|
|
|
|
@ -77,7 +77,7 @@ function is_series_site()
|
|
|
|
|
{
|
|
|
|
|
$CI = &get_instance();
|
|
|
|
|
$sitecode = $CI->config->item('site_code');
|
|
|
|
|
if (in_array($sitecode, array('jp', 'vc', 'vac', 'ru', 'it', 'gh_jp', 'gh_vc', 'gh_vac', 'gh_ru', 'gh_it', 'gh_gm', 'gm'))) {
|
|
|
|
|
if (in_array($sitecode, array('jp', 'vc', 'vac', 'ru', 'it', 'gh_jp', 'gh_vc', 'gh_vac', 'gh_ru', 'gh_it', 'gh_gm', 'gm', 'gm_jp'))) {
|
|
|
|
|
return true;
|
|
|
|
|
} else {
|
|
|
|
|
return false;
|
|
|
|
|
@ -103,7 +103,7 @@ function is_mobile_first()
|
|
|
|
|
{
|
|
|
|
|
$CI = &get_instance();
|
|
|
|
|
$sitecode = $CI->config->item('site_code');
|
|
|
|
|
if ($sitecode == 'ch' || $sitecode == 'ah' || $sitecode == 'htravel' || $sitecode == 'chinatravel' || $sitecode == 'gh' || $sitecode == 'jh' || $sitecode == 'thailand' || $sitecode == 'shanghai' || $sitecode=='beijing' || $sitecode == "trainspread" || $sitecode=="guilin" || $sitecode=="hly" || $sitecode=="hlyen") {
|
|
|
|
|
if ($sitecode == 'ch' || $sitecode == 'ah' || $sitecode == 'htravel' || $sitecode == 'chinatravel' || $sitecode == 'gh' || $sitecode == 'jh' || $sitecode == 'thailand' || $sitecode == 'shanghai' || $sitecode == 'beijing' || $sitecode == "trainspread" || $sitecode == "guilin" || $sitecode == "hly" || $sitecode == "hlyen") {
|
|
|
|
|
return true;
|
|
|
|
|
} else {
|
|
|
|
|
return false;
|
|
|
|
|
|