改为 $template 内容

hotfix/paypal-note
Jimmy Liow 3 years ago
parent de2977b505
commit dc6ab6e075

@ -838,15 +838,15 @@ class Information extends CI_Controller
// 未勾选In Article 广告时,加入标签 <meta name="ezoic" content="noads"/>,让 ezoic 识别出该页面不展示广告。
if (empty($meta_google_ad_article) || !$meta_google_ad_article) {
$information->ic_content = str_replace(
$template = str_replace(
'<!--@Meta-Ezoic-NoAds@-->',
'<meta name="ezoic" content="noads"/>',
$information->ic_content);
$template);
} else {
$information->ic_content = str_replace(
$template = str_replace(
'<!--@Meta-Ezoic-NoAds@-->',
'',
$information->ic_content);
$template);
}
//替换内容中广告

Loading…
Cancel
Save