- Timestamp:
- 2007/10/08 19:40:30 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/helper/SC_Helper_Mobile.php
r16232 r16329 27 27 */ 28 28 function lfMobileCheckCompatibility() { 29 if (! GC_MobileUserAgent::isSupported()) {29 if (!SC_MobileUserAgent::isSupported()) { 30 30 header('Location: ' . URL_DIR . 'mobile/unsupported/index.php'); 31 31 exit; … … 137 137 138 138 // 携帯端末の機種が一致するかどうかをチェックする。 139 $model = GC_MobileUserAgent::getModel();139 $model = SC_MobileUserAgent::getModel(); 140 140 if (@$_SESSION['mobile']['model'] != $model) { 141 141 GC_Utils_Ex::gfPrintLog("User agent model mismatch : " . … … 166 166 if ($sessionId === false || !$this->lfMobileValidateSession()) { 167 167 session_regenerate_id(); 168 $_SESSION = array('mobile' => array('model' => GC_MobileUserAgent::getModel(),169 'phone_id' => GC_MobileUserAgent::getId(),168 $_SESSION = array('mobile' => array('model' => SC_MobileUserAgent::getModel(), 169 'phone_id' => SC_MobileUserAgent::getId(), 170 170 'expires' => time() + MOBILE_SESSION_LIFETIME)); 171 171 … … 182 182 183 183 // 携帯端末IDを取得できた場合はセッションデータに保存する。 184 $phoneId = GC_MobileUserAgent::getId();184 $phoneId = SC_MobileUserAgent::getId(); 185 185 if ($phoneId !== false) { 186 186 $_SESSION['mobile']['phone_id'] = $phoneId; … … 212 212 213 213 // 絵文字タグを絵文字コードに変換する。 214 ob_start(array(' GC_MobileEmoji', 'handler'));214 ob_start(array('SC_MobileEmoji', 'handler')); 215 215 216 216 // 端末に合わせて画像サイズを変換する。 217 ob_start(array(' GC_MobileImage', 'handler'));217 ob_start(array('SC_MobileImage', 'handler')); 218 218 219 219 // 全角カタカナを半角カタカナに変換する。
Note: See TracChangeset
for help on using the changeset viewer.