summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-01-06 18:40:10 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-01-06 18:40:10 +0100
commitdac1b468d5432ff9166fe221ac520b5050a65f0e (patch)
tree6e3d80bf9d37347ede0244b480f08f8a330a1957 /application
parentc2e9225eec976326df36b666d6baf6db29eee831 (diff)
Altered User agent library so that is_browser(), is_mobile() and is_robot() can optionally check for a specific browser or mobile device.
Diffstat (limited to 'application')
-rw-r--r--application/config/user_agents.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/config/user_agents.php b/application/config/user_agents.php
index 985deed24..e2d3c3af0 100644
--- a/application/config/user_agents.php
+++ b/application/config/user_agents.php
@@ -94,6 +94,7 @@ $mobiles = array(
'nokia' => "Nokia",
'palm' => "Palm",
'iphone' => "Apple iPhone",
+ 'ipad' => "iPad",
'ipod' => "Apple iPod Touch",
'sony' => "Sony Ericsson",
'ericsson' => "Sony Ericsson",