und und oder vertauscht

This commit is contained in:
Sebastian Titz 2022-05-05 10:30:21 +02:00
parent 88f87e15b4
commit 4636e50b25

View File

@ -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 ) {