谷歌广告联盟修改
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{if $DomainModel->d_domain == 'jksrjhq.com' || $DomainModel->d_domain == 'gyssjxq.com'}
|
{if $DomainModel->d_domain == 'bdmoju.com' || $DomainModel->d_domain == 'jksrjhq.com' || $DomainModel->d_domain == 'gyssjxq.com'}
|
||||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8715396333009435"
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8715396333009435"
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{if $DomainModel->d_domain == 'jksrjhq.com' || $DomainModel->d_domain == 'gyssjxq.com'}
|
{if $DomainModel->d_domain == 'bdmoju.com' || $DomainModel->d_domain == 'jksrjhq.com' || $DomainModel->d_domain == 'gyssjxq.com'}
|
||||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8715396333009435"
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8715396333009435"
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -40,6 +40,11 @@
|
|||||||
s.parentNode.insertBefore(bp, s);
|
s.parentNode.insertBefore(bp, s);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
{if $DomainModel->d_domain == 'bdmoju.com' || $DomainModel->d_domain == 'jksrjhq.com' || $DomainModel->d_domain == 'gyssjxq.com'}
|
||||||
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8715396333009435"
|
||||||
|
crossorigin="anonymous"></script>
|
||||||
|
{/if}
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
{block name="strPageCode"}
|
{block name="strPageCode"}
|
||||||
|
|||||||
@@ -540,7 +540,7 @@ class SiteContext
|
|||||||
|
|
||||||
// var_dump($intRequestTotalLimit10);
|
// var_dump($intRequestTotalLimit10);
|
||||||
// 检查请求次数是否超过限制
|
// 检查请求次数是否超过限制
|
||||||
if ($intRequestTotalLimit10 > 100 && !$arrVisitInfo['vil_is_spider']) {
|
if ($intRequestTotalLimit10 > 60 && !$arrVisitInfo['vil_is_spider']) {
|
||||||
throw new HttpException(404, 'Too Many Requests');
|
throw new HttpException(404, 'Too Many Requests');
|
||||||
// abort(403, 'Too Many Requests');
|
// abort(403, 'Too Many Requests');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -185,6 +185,7 @@ const arrCsGoToDomain = [
|
|||||||
|
|
||||||
// google
|
// google
|
||||||
const arrCsGoogleToDomain = [
|
const arrCsGoogleToDomain = [
|
||||||
|
'bdmoju.com',
|
||||||
'jksrjhq.com',
|
'jksrjhq.com',
|
||||||
'gyssjxq.com',
|
'gyssjxq.com',
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user