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