und und oder vertauscht
This commit is contained in:
parent
88f87e15b4
commit
4636e50b25
@ -26,7 +26,7 @@ $_ips_crawler = array (
|
||||
);
|
||||
function checkHuman() {
|
||||
global $_ips_crawler;
|
||||
if (stripos ( $_SERVER ['HTTP_USER_AGENT'], 'bot' ) !== false && stripos ( $_SERVER ['HTTP_USER_AGENT'], 'crawler' ) !== 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