Home
last modified time | relevance | path

Searched refs:users_tracker (Results 1 – 2 of 2) sorted by relevance

/plugin/tokenbucketauth/
H A Daction.php22 protected $users_tracker; variable in action_plugin_tokenbucketauth
33 $this->users_tracker = null;
83 $this->users_tracker = array();
85 $this->users_tracker = @unserialize($content);
88 if($this->users_tracker === false)
89 $this->users_tracker = array();
119 $ts = $this->users_tracker[$ip];
146 $this->users_tracker[$ip] = $ts;
181 if(empty($this->users_tracker[$ip]))
182 $this->users_tracker[$ip] = array($time);
[all …]
H A Dadmin.php105 $users_tracker = array();
107 $users_tracker = @unserialize($content);
109 if($users_tracker === false)
110 $users_tracker = array();
112 if(isset($users_tracker[$ip]))
113 unset($users_tracker[$ip]);
115 io_saveFile($track_f, serialize($users_tracker));