增加 meta_google_ad_article 为 FALSE 情况

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

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

Loading…
Cancel
Save