Update to CodeIgniter 2.1.0
This commit is contained in:
2
system/libraries/User_agent.php
Executable file → Normal file
2
system/libraries/User_agent.php
Executable file → Normal file
@@ -142,7 +142,7 @@ class CI_User_agent {
|
||||
{
|
||||
$this->_set_platform();
|
||||
|
||||
foreach (array('_set_browser', '_set_robot', '_set_mobile') as $function)
|
||||
foreach (array('_set_robot', '_set_browser', '_set_mobile') as $function)
|
||||
{
|
||||
if ($this->$function() === TRUE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user