Changeset 21441 for branches/version-2_12-dev/data/class/SC_Customer.php
- Timestamp:
- 2012/02/06 11:05:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_Customer.php
r21420 r21441 52 52 53 53 // パスワードが合っていれば会員情報をcustomer_dataにセットしてtrueを返す 54 if ( SC_Utils_Ex::sfIsMatchHashPassword($pass, $data['password'], $data['salt']) ) {54 if (SC_Utils_Ex::sfIsMatchHashPassword($pass, $data['password'], $data['salt']) ) { 55 55 $this->customer_data = $data; 56 56 $this->startSession(); … … 112 112 function checkMobilePhoneId() { 113 113 //docomo用にデータを取り出す。 114 if (SC_MobileUserAgent_Ex::getCarrier() == 'docomo'){114 if (SC_MobileUserAgent_Ex::getCarrier() == 'docomo') { 115 115 if($_SESSION['mobile']['phone_id'] == "" && strlen($_SESSION['mobile']['phone_id']) == 0) 116 116 $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent_Ex::getId(); … … 136 136 function getCustomerDataFromMobilePhoneIdPass($pass) { 137 137 //docomo用にデータを取り出す。 138 if (SC_MobileUserAgent_Ex::getCarrier() == 'docomo'){138 if (SC_MobileUserAgent_Ex::getCarrier() == 'docomo') { 139 139 if($_SESSION['mobile']['phone_id'] == "" && strlen($_SESSION['mobile']['phone_id']) == 0) 140 140 $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent_Ex::getId(); … … 150 150 151 151 // パスワードが合っている場合は、会員情報をcustomer_dataに格納してtrueを返す。 152 if ( SC_Utils_Ex::sfIsMatchHashPassword($pass, $data['password'], $data['salt']) ) {152 if (SC_Utils_Ex::sfIsMatchHashPassword($pass, $data['password'], $data['salt']) ) { 153 153 $this->customer_data = $data; 154 154 $this->startSession(); … … 228 228 $objQuery = new SC_Query_Ex(); 229 229 $email = $objQuery->get('email', "dtb_customer", "customer_id = ?", array($_SESSION['customer']['customer_id'])); 230 if ($email == $_SESSION['customer']['email']) {230 if ($email == $_SESSION['customer']['email']) { 231 231 // モバイルサイトの場合は携帯のメールアドレスが登録されていることもチェックする。 232 232 // ただし $dont_check_email_mobile が true の場合はチェックしない。 … … 274 274 $now_month = intval(date('m')); 275 275 276 if ($birth_month == $now_month) {276 if ($birth_month == $now_month) { 277 277 return true; 278 278 }
Note: See TracChangeset
for help on using the changeset viewer.
