From 5f171c8ce895a42774c6de98f7f984ab4373e9e4 Mon Sep 17 00:00:00 2001
From: Derek Jones
Date: Fri, 25 Jul 2008 20:30:35 +0000
Subject: put $robots back into user_agents.php
---
system/application/config/user_agents.php | 11 +++++++++++
user_guide/changelog.html | 1 +
2 files changed, 12 insertions(+)
diff --git a/system/application/config/user_agents.php b/system/application/config/user_agents.php
index a63aa4995..d350af3aa 100644
--- a/system/application/config/user_agents.php
+++ b/system/application/config/user_agents.php
@@ -159,6 +159,17 @@ $mobiles = array(
'cellphone' => "Generic Mobile"
);
+// There are hundreds of bots but these are the most common.
+$robots = array(
+ 'googlebot' => 'Googlebot',
+ 'msnbot' => 'MSNBot',
+ 'slurp' => 'Inktomi Slurp',
+ 'yahoo' => 'Yahoo',
+ 'askjeeves' => 'AskJeeves',
+ 'fastcrawler' => 'FastCrawler',
+ 'infoseek' => 'InfoSeek Robot 1.0',
+ 'lycos' => 'Lycos'
+ );
/* End of file user_agents.php */
/* Location: ./system/application/config/user_agents.php */
\ No newline at end of file
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index a8954d922..e2ba8f603 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -81,6 +81,7 @@ SVN Revision: XXXX
- Fixed bug in xss_clean() that could remove some desirable tag attributes.
- Fixed assorted user guide typos or examples (#4840, #4862, #4864, #4899).
+ - Fixed an edit from 1.6.3 that made the $robots array in user_agents.php go poof.
Version 1.6.3
--
cgit v1.2.3-24-g4f1b