source: branches/version-2_12-dev/patches/Net_UserAgent_Mobile_Mobile.php.patch @ 21846

Revision 21846, 893 bytes checked in by h_yoshimoto, 12 years ago (diff)

#1820 windows phoneでサイトを閲覧した場合、スマホページが表示されないバグを修正

RevLine 
[21846]1# This patch file was generated by NetBeans IDE
2# Following Index: paths are relative to: C:\Users\lockon\workspace\version-2_12-dev_test\data\module\Net\UserAgent
3# This patch can be applied using context Tools: Patch action on respective folder.
4# It uses platform neutral UTF-8 encoding and \n newlines.
5# Above lines and this line are ignored by the patching process.
6Index: Mobile.php
7--- Mobile.php ベース (BASE)
8+++ Mobile.php ローカルでの変更 (LOCAL がベース)
9@@ -424,7 +424,8 @@
10             'blackberry9800', // Torch
11             'webOS',          // Palm Pre Experimental
12             'incognito',      // Other iPhone browser
13-            'webmate'         // Other iPhone browser
14+            'webmate',         // Other iPhone browser
15+            'Windows Phone OS' // Windows Phone
16         );
17 
18         $pattern = implode("|", $useragents);
Note: See TracBrowser for help on using the repository browser.