auch keine crawler agents
This commit is contained in:
parent
48bd8e66f2
commit
e44c10c5c2
@ -26,7 +26,7 @@ $_ips_crawler = array (
|
||||
);
|
||||
function checkHuman() {
|
||||
global $_ips_crawler;
|
||||
if (stripos ( $_SERVER ['HTTP_USER_AGENT'], 'bot' ) !== false) {
|
||||
if (stripos ( $_SERVER ['HTTP_USER_AGENT'], 'bot' ) !== false && stripos ( $_SERVER ['HTTP_USER_AGENT'], 'crawler' ) !== false) {
|
||||
return false;
|
||||
}
|
||||
foreach ( $_ips_crawler as $np ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user