From 990e79b2954f1ae7aeff1f897bc964ceddb7e7f6 Mon Sep 17 00:00:00 2001 From: barchard Date: Thu, 18 Dec 2014 14:26:16 -0500 Subject: [PATCH] Add DuckDuckGo to the bot list --- phpab.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpab.php b/phpab.php index 4802bc1..7405ff1 100644 --- a/phpab.php +++ b/phpab.php @@ -29,7 +29,7 @@ function __construct ($n, $t = FALSE) { if($this->detect_bots == TRUE) { - $bots = array('googlebot', 'msnbot', 'slurp', 'ask jeeves', 'crawl', 'ia_archiver', 'lycos'); + $bots = array('googlebot', 'msnbot', 'slurp', 'ask jeeves', 'crawl', 'ia_archiver', 'lycos', 'duckduckbot'); foreach($bots as $botname) { if(stripos($_SERVER['HTTP_USER_AGENT'], $botname) !== FALSE)