- Timestamp:
- 2007/09/28 10:25:08 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/LC_Page.php
r16133 r16134 65 65 * @return void 66 66 */ 67 function init() { 68 69 // 携帯端末の場合は mobile 以下へリダイレクトする。 70 if (GC_MobileUserAgent::isMobile()) { 71 if (preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['REQUEST_URI'], $matches)) { 72 $path = $matches[1]; 73 } else { 74 $path = ''; 75 } 76 $this->sendRedirect($this->getLocation(URL_DIR . "mobile/" . $path)); 77 exit; 78 } 79 // 絵文字変換 (除去) フィルターを組み込む。 80 ob_start(array('GC_MobileEmoji', 'handler')); 81 82 // アップデートで取得したPHPを読み出す 83 SC_Utils_Ex::sfLoadUpdateModule(); 84 } 67 function init() {} 85 68 86 69 /**
Note: See TracChangeset
for help on using the changeset viewer.