summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-11-13 03:39:39 +0100
committerAndrey Andreev <narf@bofh.bg>2012-11-13 03:39:39 +0100
commit2978d77dad8c33dd8ae124b1e4c5bf3fb3dbe40a (patch)
tree13b37b9abc53c61696a661b92fe5e63f48bd3eb2 /system
parent39eb806dc491e5f4ffe9dc537e8dc224c2592ee7 (diff)
parent001a76409e4422fd56acfcbfe0315b91bb51983c (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.php1
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;
}
}