Ejemplo n.º 1
0
 /**
  * ログイン失敗ログを記録する
  */
 public function logLoginFailed()
 {
     global $_conf;
     if (!empty($_conf['login_log_rec'])) {
         $recnum = isset($_conf['login_log_rec_num']) ? intval($_conf['login_log_rec_num']) : 100;
         P2Util::recAccessLog($_conf['login_failed_log_file'], $recnum, 'txt');
     }
     return true;
 }
Ejemplo n.º 2
0
Archivo: Login.php Proyecto: poppen/p2
 /**
  * ログイン失敗ログを記録する
  *
  * @access  private
  * @return  boolean|null  実行成否|何もしない場合
  */
 function logLoginFailed()
 {
     global $_conf;
     if ($_conf['login_log_rec']) {
         $recnum = isset($_conf['login_log_rec_num']) ? intval($_conf['login_log_rec_num']) : 100;
         return P2Util::recAccessLog($_conf['login_failed_log_file'], $recnum, 'txt');
     }
     return null;
 }