mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
update
This commit is contained in:
parent
5d665a5bda
commit
6b703a89f2
@ -48,7 +48,6 @@ class Throttle
|
|||||||
$this->ip = $_SERVER['REMOTE_ADDR'];
|
$this->ip = $_SERVER['REMOTE_ADDR'];
|
||||||
$date = date("d-m-Y");
|
$date = date("d-m-Y");
|
||||||
|
|
||||||
|
|
||||||
if (!isset($this->sessions[$this->ip])) { // register the session
|
if (!isset($this->sessions[$this->ip])) { // register the session
|
||||||
$this->sessions[$this->ip] = [
|
$this->sessions[$this->ip] = [
|
||||||
$date => 0
|
$date => 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user