- Timestamp:
- 2007/08/28 22:18:06 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/SC_Customer.php
r15357 r15397 165 165 $sql = "SELECT * FROM dtb_customer WHERE email ILIKE ? AND del_flg = 0 AND status = 2"; 166 166 $result = $this->conn->getAll($sql, array($email)); 167 $data = $result[0];167 $data = isset($result[0]) ? $result[0] : ""; 168 168 $this->customer_data = $data; 169 169 $this->startSession(); … … 181 181 // ログイン情報をセッションに登録し、ログに書き込む 182 182 function startSession() { 183 sfDomainSessionStart();183 SC_Utils_Ex::sfDomainSessionStart(); 184 184 $_SESSION['customer'] = $this->customer_data; 185 185 // セッション情報の保存 186 gfPrintLog("access : user=".$this->customer_data['customer_id'] ."\t"."ip=". $_SERVER['REMOTE_HOST'], CUSTOMER_LOG_PATH );186 GC_Utils_Ex::gfPrintLog("access : user=".$this->customer_data['customer_id'] ."\t"."ip=". $_SERVER['REMOTE_HOST'], CUSTOMER_LOG_PATH ); 187 187 } 188 188 … … 192 192 unset($_SESSION['customer']); 193 193 // ログに記録する 194 gfPrintLog("logout : user=".$this->customer_data['customer_id'] ."\t"."ip=". $_SERVER['REMOTE_HOST'], CUSTOMER_LOG_PATH );194 GC_Utils_Ex::gfPrintLog("logout : user=".$this->customer_data['customer_id'] ."\t"."ip=". $_SERVER['REMOTE_HOST'], CUSTOMER_LOG_PATH ); 195 195 } 196 196
Note: See TracChangeset
for help on using the changeset viewer.