Changeset 11409 for temp/branches/mobile/html/require.php
- Timestamp:
- 2007/02/08 10:03:52 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/mobile/html/require.php
r11398 r11409 39 39 // ·ÈÂÓüËö¤Î¾ì¹ç¤Ï mobile °Ê²¼¤Ø¥ê¥À¥¤¥ì¥¯¥È¤¹¤ë¡£ 40 40 if (GC_MobileUserAgent::isMobile()) { 41 header("Location: " . URL_DIR . "mobile/"); 41 if (preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['REQUEST_URI'], $matches)) { 42 $path = $matches[1]; 43 } else { 44 $path = ''; 45 } 46 header("Location: " . URL_DIR . "mobile/$path"); 42 47 exit; 43 48 }
Note: See TracChangeset
for help on using the changeset viewer.