芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/optimyar/wp-content/plugins/ithemes-security-pro/core/modules/ban-users/Ban.php
host = $host; $this->created_by = $created_by; $this->comment = $comment; $this->created_at = $created_at ?: new \DateTimeImmutable( 'now', new \DateTimeZone( 'UTC' ) ); $this->id = $id; } public function get_id() { return $this->id; } public function get_source() { return 'database'; } public function matches( $ip ) { return \ITSEC_Lib_IP_Tools::intersect( $ip, $this->host ); } public function get_created_at() { return $this->created_at; } public function get_created_by() { return $this->created_by; } public function get_comment() { return $this->comment; } public function __toString() { return $this->host; } /** * Gets the banned host. * * @return string */ public function get_host() { return $this->host; } }