Changeset 21968
- Timestamp:
- 2012/07/19 17:20:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_Customer.php
r21867 r21968 210 210 // ログアウト $_SESSION['customer']を解放し、ログに書き込む 211 211 function EndSession() { 212 // セッション情報破棄の前にcustomer_idを保存 213 $customer_id = $_SESSION['customer']['customer_id']; 214 212 215 // $_SESSION['customer']の解放 213 216 unset($_SESSION['customer']); … … 218 221 $objSiteSess = new SC_SiteSession_Ex(); 219 222 $objSiteSess->unsetUniqId(); 223 220 224 // ログに記録する 221 GC_Utils_Ex::gfPrintLog('logout : user='.$this->customer_data['customer_id'] ."\t".'ip='. $this->getRemoteHost(), CUSTOMER_LOG_REALFILE, false); 225 $log = sprintf("logout : user=%d\tip=%s", 226 $customer_id, $this->getRemoteHost()); 227 GC_Utils_Ex::gfPrintLog($log, CUSTOMER_LOG_REALFILE, false); 222 228 } 223 229
Note: See TracChangeset
for help on using the changeset viewer.