@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
if(strtolower($actionType) == 'reconnectxuanxuan' or strtolower($actionType) == 'loginxuanxuan')
|
||||
{
|
||||
$ip = $this->server->remote_addr;
|
||||
$ip = helper::getRemoteIp();
|
||||
$last = $this->server->request_time;
|
||||
$this->dao->update(TABLE_USER)->set('visits = visits + 1')->set('ip')->eq($ip)->set('last')->eq($last)->where('account')->eq($actor)->exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user