From 4636e50b255f96df066c80b4d2eeb0a9cb8cfcd6 Mon Sep 17 00:00:00 2001 From: Sebastian Titz Date: Thu, 5 May 2022 10:30:21 +0200 Subject: [PATCH] und und oder vertauscht --- ips/crawler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ips/crawler.php b/ips/crawler.php index e1219be..d5a16b1 100644 --- a/ips/crawler.php +++ b/ips/crawler.php @@ -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 ) {