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') {
$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_jp']['site_url'] = 'http://202.103.68.62:9904';
$config['site']['vc']['site_url'] = 'http://202.103.68.62:9095';
$config['site']['vac']['site_url'] = 'http://202.103.68.62:9096';
$config['site']['ru']['site_url'] = 'http://202.103.68.62:9097';

@ -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;

Loading…
Cancel
Save