summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-04-03 16:04:24 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-04-03 16:04:24 -0400
commit8ecf7cc733278a12d8aa00b0ded33c4b7c6f65e3 (patch)
tree0bb034cf1995a7a3385c2852a4a73039f2dcaecd
parent578224fe08afe2f7280df932191b38b84fdd23a5 (diff)
downloadpfsense-8ecf7cc733278a12d8aa00b0ded33c4b7c6f65e3.zip
pfsense-8ecf7cc733278a12d8aa00b0ded33c4b7c6f65e3.tar.gz
Add iPad support
-rwxr-xr-xusr/local/www/guiconfig.inc2
-rwxr-xr-xusr/local/www/head.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 5400e22..1b7923b 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -56,7 +56,7 @@ if($config['theme'] <> "")
else
$g['theme'] = "pfsense";
-$apple_ua = array("iPhone","iPod");
+$apple_ua = array("iPhone","iPod", "iPad");
foreach($apple_ua as $useragent)
if(strstr($_SERVER['HTTP_USER_AGENT'], $useragent))
$g['theme'] = "pfsense";
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc
index dc3143f..7328b06 100755
--- a/usr/local/www/head.inc
+++ b/usr/local/www/head.inc
@@ -8,7 +8,7 @@ if($config['theme'] <> "")
else
$g['theme'] = "pfsense";
-$apple_ua = array("iPhone","iPod");
+$apple_ua = array("iPhone","iPod", "iPad");
foreach($apple_ua as $useragent)
if(strstr($_SERVER['HTTP_USER_AGENT'], $useragent))
$g['theme'] = "pfsense";
OpenPOWER on IntegriCloud