Quellcode durchsuchen

edit blacklist debug message

CauseFX vor 5 Jahren
Ursprung
Commit
14759615f5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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']);
 				}
 				}
 			}
 			}