diff options
author | Eric Roberts <eric@cryode.com> | 2012-04-14 23:41:13 +0200 |
---|---|---|
committer | Eric Roberts <eric@cryode.com> | 2012-04-14 23:41:13 +0200 |
commit | 001a76409e4422fd56acfcbfe0315b91bb51983c (patch) | |
tree | 9ec1e301189555b67962a887049694f836dba975 /system/libraries/User_agent.php | |
parent | 0f2211711deceb74157d6811116acc0376d3157d (diff) |
Add mobile detection to robot user agents.
Diffstat (limited to 'system/libraries/User_agent.php')
-rw-r--r-- | system/libraries/User_agent.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/libraries/User_agent.php b/system/libraries/User_agent.php index b8e0d37fb..7d91cc4d9 100644 --- a/system/libraries/User_agent.php +++ b/system/libraries/User_agent.php @@ -224,6 +224,7 @@ class CI_User_agent { { $this->is_robot = TRUE; $this->robot = $val; + $this->_set_mobile(); return TRUE; } } |