Googlebot user agent string may look like this: Googlebot/2.1 (+http://www.googlebot.com/bot.html)
This test returns number 0 and thus will cause the following test in common.php to fail: if (strpos($ua, $substring) != FALSE)
Replace the test with if (strpos($ua, $substring) !== FALSE)
Googlebot user agent string may look like this:
Googlebot/2.1 (+http://www.googlebot.com/bot.html)
This test returns number 0 and thus will cause the following test in common.php to fail:
if (strpos($ua, $substring) != FALSE)
Replace the test with
if (strpos($ua, $substring) !== FALSE)
(note the extra '=' sign)
Trackback URL for this post: