helper add gh_gm

master
LMR 1 month ago
parent 1f99b7b783
commit 3e1767955c

@ -588,6 +588,7 @@ $config['cache']['hlyen']['cache_path'] = 'D:\wwwcache\mobile-first\chiangmaiyip
if (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == '202.103.68.62:9999') { if (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == '202.103.68.62:9999') {
$config['site']['jp']['site_url'] = 'http://202.103.68.62:9093'; $config['site']['jp']['site_url'] = 'http://202.103.68.62:9093';
$config['site']['gm']['site_url'] = 'http://202.103.68.62:9094'; $config['site']['gm']['site_url'] = 'http://202.103.68.62:9094';
$config['site']['gm_jp']['site_url'] = 'http://202.103.68.62:9904';
$config['site']['vc']['site_url'] = 'http://202.103.68.62:9095'; $config['site']['vc']['site_url'] = 'http://202.103.68.62:9095';
$config['site']['vac']['site_url'] = 'http://202.103.68.62:9096'; $config['site']['vac']['site_url'] = 'http://202.103.68.62:9096';
$config['site']['ru']['site_url'] = 'http://202.103.68.62:9097'; $config['site']['ru']['site_url'] = 'http://202.103.68.62:9097';

@ -77,7 +77,7 @@ function is_series_site()
{ {
$CI = &get_instance(); $CI = &get_instance();
$sitecode = $CI->config->item('site_code'); $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; return true;
} else { } else {
return false; return false;
@ -103,7 +103,7 @@ function is_mobile_first()
{ {
$CI = &get_instance(); $CI = &get_instance();
$sitecode = $CI->config->item('site_code'); $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; return true;
} else { } else {
return false; return false;

Loading…
Cancel
Save