mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix #1468 inconsistent use of REMOTE_ADDR vs. RX_CLIENT_IP
This commit is contained in:
parent
996ca166e8
commit
2d6a175b19
11 changed files with 24 additions and 32 deletions
|
|
@ -33,7 +33,7 @@ class counterModel extends counter
|
|||
|
||||
$args = new stdClass();
|
||||
$args->regdate = $date;
|
||||
$args->ipaddress = $_SERVER['REMOTE_ADDR'];
|
||||
$args->ipaddress = \RX_CLIENT_IP;
|
||||
$args->site_srl = $site_srl;
|
||||
$output = executeQuery('counter.getCounterLog', $args);
|
||||
$iplogged = $output->data->count ? true : false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue