|
|
|
|
@ -424,7 +424,7 @@ class Information extends CI_Controller {
|
|
|
|
|
$site_code = $this->config->item('site_code');
|
|
|
|
|
$ic_url = $this->input->post('ic_url');
|
|
|
|
|
$auto_update_cache = $this->input->get_post('auto_update_cache_checkbox');
|
|
|
|
|
if ($site_code == 'gm' && substr($ic_url, 0, 5) == '/faq/') {
|
|
|
|
|
if (strcasecmp($site_code, "gm") == 0 && !empty($auto_update_cache)) {
|
|
|
|
|
$update_info_log = $this->update_cache($ic_url, true);
|
|
|
|
|
} else if (strcasecmp($site_code, "cht") == 0 && !empty($auto_update_cache)) {
|
|
|
|
|
$update_info_log = $this->update_cache($ic_url);
|
|
|
|
|
|