summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorEric Roberts <eric@cryode.com>2012-04-14 23:41:13 +0200
committerEric Roberts <eric@cryode.com>2012-04-14 23:41:13 +0200
commit001a76409e4422fd56acfcbfe0315b91bb51983c (patch)
tree9ec1e301189555b67962a887049694f836dba975 /system/libraries
parent0f2211711deceb74157d6811116acc0376d3157d (diff)
Add mobile detection to robot user agents.
Diffstat (limited to 'system/libraries')
-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 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;
}
}