|
|
|
@ -284,7 +284,7 @@ class Information extends CI_Controller {
|
|
|
|
|
//echo $request;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 分享数 lzq
|
|
|
|
|
// 分享数 lzq
|
|
|
|
|
public function statistical_sharing() {
|
|
|
|
|
|
|
|
|
|
//$info_ic = $this->Information_model->get_ic_url_by_code('mbj');
|
|
|
|
@ -317,7 +317,7 @@ class Information extends CI_Controller {
|
|
|
|
|
|
|
|
|
|
//$sstt = $this->config->item('site');
|
|
|
|
|
//foreach($infolist as $k=>$v){
|
|
|
|
|
// $aabb[] = $v->ic_sitecode;
|
|
|
|
|
// $aabb[] = $v->ic_sitecode;
|
|
|
|
|
//}
|
|
|
|
|
//$url_count = $this->Information_model->get_count_by_code('mbj');
|
|
|
|
|
//$surl = site_url('/information/fengxiangshu');
|
|
|
|
@ -389,10 +389,9 @@ class Information extends CI_Controller {
|
|
|
|
|
//德语站FAQ版块需要删除原来的文件才能更新静态 by TDY @20150113
|
|
|
|
|
if ($this->config->item('site_code') == 'gm' && substr($this->input->post('ic_url'), 0, 5) == '/faq/') {
|
|
|
|
|
$this->update_cache($this->input->post('ic_url'), true);
|
|
|
|
|
} else {
|
|
|
|
|
} else if (!empty($this->input->get_post('auto_update_cache_checkbox'))) {
|
|
|
|
|
$this->update_cache($this->input->post('ic_url'));
|
|
|
|
|
}
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
$data[] = array('name' => 'ok', 'value' => $this->lang->line('form_info_success'));
|
|
|
|
|
$this->Logs_model->backup($information->is_id, $this->input->post('ic_content'));
|
|
|
|
@ -527,7 +526,7 @@ class Information extends CI_Controller {
|
|
|
|
|
$url = $this->config->item('site_url') . $url . '@cache@refresh';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//关闭错误提示,防止file_get_contents请求特殊字符的时候会报错或者404、500,特殊字符需要用urlencode编码第一个/后面的url
|
|
|
|
|
//关闭错误提示,防止file_get_contents请求特殊字符的时候会报错或者404、500,特殊字符需要用urlencode编码第一个/后面的url
|
|
|
|
|
//error_reporting(NULL);
|
|
|
|
|
//ini_set('display_errors', 'Off');
|
|
|
|
|
|
|
|
|
|