From 001a76409e4422fd56acfcbfe0315b91bb51983c Mon Sep 17 00:00:00 2001 From: Eric Roberts Date: Sat, 14 Apr 2012 16:41:13 -0500 Subject: Add mobile detection to robot user agents. --- system/libraries/User_agent.php | 1 + 1 file changed, 1 insertion(+) (limited to 'system') 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; } } -- cgit v1.2.3-24-g4f1b