Bläddra i källkod

edit blacklist debug message

CauseFX 4 år sedan
förälder
incheckning
14759615f5
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      api/classes/organizr.class.php

+ 1 - 1
api/classes/organizr.class.php

@@ -188,7 +188,7 @@ class Organizr
 			$currentIP = $this->userIP();
 			$currentIP = $this->userIP();
 			if ($this->config['blacklisted'] !== '') {
 			if ($this->config['blacklisted'] !== '') {
 				if (in_array($currentIP, $this->arrayIP($this->config['blacklisted']))) {
 				if (in_array($currentIP, $this->arrayIP($this->config['blacklisted']))) {
-					$this->debug('User was sent to blackhole');
+					$this->debug('User was sent to blackhole - Blacklisted IPs: ' . $this->config['blacklisted']);
 					die($this->config['blacklistedMessage']);
 					die($this->config['blacklistedMessage']);
 				}
 				}
 			}
 			}