diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-13 03:39:39 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-13 03:39:39 +0100 |
commit | 2978d77dad8c33dd8ae124b1e4c5bf3fb3dbe40a (patch) | |
tree | 13b37b9abc53c61696a661b92fe5e63f48bd3eb2 /system | |
parent | 39eb806dc491e5f4ffe9dc537e8dc224c2592ee7 (diff) | |
parent | 001a76409e4422fd56acfcbfe0315b91bb51983c (diff) |
Merge pull request #1258 from cryode/feature/robot_mobile
Add mobile detection to robot user agents.
Diffstat (limited to 'system')
-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 e920578d9..659371ab5 100644 --- a/system/libraries/User_agent.php +++ b/system/libraries/User_agent.php @@ -310,6 +310,7 @@ class CI_User_agent { { $this->is_robot = TRUE; $this->robot = $val; + $this->_set_mobile(); return TRUE; } } |