|
|
|
@ -245,11 +245,12 @@ class Information extends CI_Controller
|
|
|
|
|
//LMR 2016-7-14
|
|
|
|
|
if (in_array($this->config->item('site_code'), array('vac', 'vc', 'jp', 'ru', 'it'))) {
|
|
|
|
|
$this->config->set_item('templates', $this->config->item('templates_product_i'));
|
|
|
|
|
} else if ($this->config->item('site_code' == 'gm')) {
|
|
|
|
|
} else if ($this->config->item('site_code') === 'gm') {
|
|
|
|
|
$this->config->set_item('templates', $this->config->item('templates_product_gm'));
|
|
|
|
|
} else {
|
|
|
|
|
$this->config->set_item('templates', $this->config->item('templates_product'));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
$data['infoTypeList'] = array('不设置' => 'none', '首页' => 'root');
|
|
|
|
@ -2288,4 +2289,4 @@ class Information extends CI_Controller
|
|
|
|
|
echo json_encode($data);
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|