Skip to content

Conversation

@urosevic
Copy link

@urosevic urosevic commented Sep 1, 2025

Found and fixed following issues (tested on PHP 8.4):

  1. Prevent $config flat array to be overwritten by report script - IP-Info always fail because INI parser from the abuseipdb script overwrites a flat config array with a multy-dimensional config array
  2. Change: Hide login form when user is logged in - once admin log in, no need to keep login form visible.
  3. Change: Display IP info notification 20 seconds - 4 seconds for IP info notification was too short to read all info
  4. Add missing JS asset - ufw-report.js was not in git
  5. Refactor: update require_once paths for consistency across action files - use $PATHS['config'] and basename(DIR) where appropriate
  6. Fix: string interpolation does not directly support the null coalescing operator - fix PHP error unexpected token "??", expecting "->" or "?->" or "["
  7. Fix: favicon URL

Cheers

@SubleXBle
Copy link
Owner

Hi, thank you, appreciate it a lot, I will look at it by next week as I am in hospital right now.

@urosevic
Copy link
Author

urosevic commented Sep 2, 2025

No rush. Get well soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants