- Timestamp:
- 2011/03/04 21:54:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/helper/SC_Helper_Mobile.php
r20493 r20495 42 42 */ 43 43 function lfMobileCheckCompatibility() { 44 if (!SC_MobileUserAgent ::isSupported()) {44 if (!SC_MobileUserAgent_Ex::isSupported()) { 45 45 header('Location: ' . ROOT_URLPATH . 'unsupported/' . DIR_INDEX_PATH); 46 46 exit; … … 157 157 158 158 // 携帯端末の機種が一致するかどうかをチェックする。 159 $model = SC_MobileUserAgent ::getModel();159 $model = SC_MobileUserAgent_Ex::getModel(); 160 160 if (@$_SESSION['mobile']['model'] != $model) { 161 161 GC_Utils_Ex::gfPrintLog("User agent model mismatch : " . … … 187 187 if ($sessionId === false || !$this->lfMobileValidateSession()) { 188 188 session_regenerate_id(); 189 $_SESSION = array('mobile' => array('model' => SC_MobileUserAgent ::getModel(),190 'phone_id' => SC_MobileUserAgent ::getId(),189 $_SESSION = array('mobile' => array('model' => SC_MobileUserAgent_Ex::getModel(), 190 'phone_id' => SC_MobileUserAgent_Ex::getId(), 191 191 'expires' => time() + MOBILE_SESSION_LIFETIME)); 192 192 … … 203 203 204 204 // 携帯端末IDを取得できた場合はセッションデータに保存する。 205 $phoneId = SC_MobileUserAgent ::getId();205 $phoneId = SC_MobileUserAgent_Ex::getId(); 206 206 if ($phoneId !== false) { 207 207 $_SESSION['mobile']['phone_id'] = $phoneId;
Note: See TracChangeset
for help on using the changeset viewer.