|
|
|
@ -451,6 +451,8 @@ class Information extends CI_Controller
|
|
|
|
|
$update_info_log = $this->update_cache($ic_url);
|
|
|
|
|
} else if (strcasecmp($site_code, "cht") != 0 && strcasecmp($site_code, "gm") != 0 && strcasecmp($site_code, "ah") != 0) { //非cht站点并且非GM并且非AH
|
|
|
|
|
$update_info_log = $this->update_cache($ic_url);
|
|
|
|
|
}else if (strcasecmp($site_code, "ct") == 0 && !empty($auto_update_cache)) {
|
|
|
|
|
$update_info_log = $this->update_cache($ic_url);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (empty($update_info_log) || count($update_info_log) == 0 || !isset($update_info_log[0]['url'])) {
|
|
|
|
@ -612,6 +614,8 @@ class Information extends CI_Controller
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 'ct': //子站点使用
|
|
|
|
|
$url = 'http://50.97.246.187:22223' . $url;
|
|
|
|
|
break;
|
|
|
|
|
case 'sht':
|
|
|
|
|
case 'gl':
|
|
|
|
|
case 'mbj':
|
|
|
|
|