commit | 2978d77dad8c33dd8ae124b1e4c5bf3fb3dbe40a | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Mon Nov 12 18:39:39 2012 -0800 |
committer | Andrey Andreev <narf@bofh.bg> | Mon Nov 12 18:39:39 2012 -0800 |
tree | 13b37b9abc53c61696a661b92fe5e63f48bd3eb2 | |
parent | 39eb806dc491e5f4ffe9dc537e8dc224c2592ee7 [diff] | |
parent | 001a76409e4422fd56acfcbfe0315b91bb51983c [diff] |
Merge pull request #1258 from cryode/feature/robot_mobile Add mobile detection to robot user agents.
diff --git a/system/libraries/User_agent.php b/system/libraries/User_agent.php index e920578..659371a 100644 --- a/system/libraries/User_agent.php +++ b/system/libraries/User_agent.php
@@ -310,6 +310,7 @@ { $this->is_robot = TRUE; $this->robot = $val; + $this->_set_mobile(); return TRUE; } }