Welcome Guest, Not a member yet? Register   Sign In
(SOLVED) Robots list in user_agents.php - CI 1.6.3
#1

[eluser]fensen[/eluser]
I've just downloaded CI 1.6.3

I was wondering, what happend with the $robot array (bots, crawlers) in application/config/user_agents.php

It was present in CI 1.6.1.

I need to be able to read the array and add some new values.

Thanks
#2

[eluser]got 2 doodle[/eluser]
Thanks for pointing out the ommisision
I'm using 1.6.2 and it's in there.
Code:
// 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'
                );

Just a cut and paste from the old code, does this help?


doodle
#3

[eluser]Derek Allard[/eluser]
Oh man... I'm gonna get blamed for this one... I just know it.
#4

[eluser]fensen[/eluser]
Quote:Just a cut and paste from the old code, does this help?

Yes! Thanks a lot!

Problem solved.




Theme © iAndrew 2016 - Forum software by © MyBB