hotfix/paypal-note
LMR 2 years ago
parent 31b4b18d77
commit 2806403035

@ -2097,10 +2097,8 @@ class Information extends CI_Controller
if (!empty($information->ic_content)) { if (!empty($information->ic_content)) {
$url = $this->config->item('site_url') . '/index.php/information/detail/?static_html_url=' . $url; $url = $this->config->item('site_url') . '/index.php/information/detail/?static_html_url=' . $url;
} else { } else {
//先尝试删除静态文件。 //$url = $this->config->item('site_url') . '/index.php/welcome/update_cache/?static_html_url=' . //$url;
//$try_del = $this->config->item('site_url') . '/index.php/welcome/update_cache/delete_only?static_html_url=' . $url; $url = $this->config->item('site_url') . '/index.php/information/detail/?static_html_url=' . $url;
//file_get_contents($try_del);
$url = $this->config->item('site_url') . '/index.php/welcome/update_cache/?static_html_url=' . $url;
} }
if (isset($information->ic_type) && $information->ic_type == 'product') { if (isset($information->ic_type) && $information->ic_type == 'product') {
$url = $this->config->item('site_url') . '/index.php/welcome/update_cache/?static_html_url=' . $tmp; $url = $this->config->item('site_url') . '/index.php/welcome/update_cache/?static_html_url=' . $tmp;

Loading…
Cancel
Save