Changeset 17720 for branches/version-2/data/class
- Timestamp:
- 2008/12/02 19:42:01 (15 years ago)
- Location:
- branches/version-2/data/class
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/SC_Customer.php
r16741 r17720 99 99 */ 100 100 function checkMobilePhoneId() { 101 if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 101 //docomo用にデータを取り出す。 102 if(SC_MobileUserAgent::getCarrier() == 'docomo'){ 103 $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent::getId(); 104 } 105 if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 102 106 return false; 103 107 } … … 118 122 */ 119 123 function getCustomerDataFromMobilePhoneIdPass($pass) { 120 if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 124 //docomo用にデータを取り出す。 125 if(SC_MobileUserAgent::getCarrier() == 'docomo'){ 126 if($_SESSION['mobile']['phone_id'] == "" && strlen($_SESSION['mobile']['phone_id']) == 0) 127 $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent::getId(); 128 } 129 if(SC_MobileUserAgent::getCarrier() == 'docomo'){ 130 $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent::getId(); 131 } 132 if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 121 133 return false; 122 134 } -
branches/version-2/data/class/pages/entry/LC_Page_Entry.php
r17151 r17720 607 607 // 携帯メールアドレス 608 608 $arrRegist['email_mobile'] = $arrRegist['email']; 609 //PHONE_IDを取り出す 610 $phoneId = SC_MobileUserAgent::getId(); 611 $arrRegist['mobile_phone_id'] = $phoneId; 609 612 } 610 613
Note: See TracChangeset
for help on using the changeset viewer.