CodeIgniter Forums
User agent class problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: User agent class problem (/thread-20598.html)



User agent class problem - El Forum - 07-15-2009

[eluser]NachoF[/eluser]
When accessign from a Blackberry browser:
Code:
$this->agent->is_mobile()
returns true
but
Code:
$this->agent->browser()
returns empty string
so does this
Code:
$this->agent->version()
.....
Code:
$this->agent->agent_string()
returns the agent string correctly so theres got to be something wrong in retreiving the browser and the version from the string... dont know how to fix it though.