Improve comments when blocked

This commit is contained in:
Brendan Heywood committed 2025-10-22 14:19:54 +11:00
1 parent 1e40a209b0
commit 77ee908aed
2 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -345,11 +345,11 @@ if ((time() >= {{STARTTIME}}) && (time() < {{STOPTIME}})) {
}
if ({{USEALLOWEDIPS}} && $ipblocked) {
echo '<!-- Blocked by ip, your ip: '.getremoteaddr('n/a').' -->';
echo '<!-- auth_outage blocked your ip: '.getremoteaddr('n/a').' -->';
}
if ({{USEACCESSKEY}} && $accesskeyblocked) {
echo '<!-- Blocked by missing or incorrect access key, access key given: '. $useraccesskey .' -->';
echo '<!-- auth_outage blocked by missing or incorrect access key, access key given: '. $useraccesskey .' -->';
}
if (!$isphpunit) {