fix: address code review feedback (comment clarity, remove redundant static array, add CSS class)

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/86bb1e0e-2bbd-439b-88cd-7a624ad24761

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-05-04 00:13:49 +00:00 committed by GitHub
parent 5c463d381f
commit d0c86926bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 9 deletions

View file

@ -76,6 +76,7 @@ class rss_php {
$rss = ltrim($rss);
// Reject obviously non-XML content early to avoid noisy libxml warnings.
// Minimum well-formed XML is at least "<a/>" (4 bytes); require one more.
if(strlen($rss) < 5 || $rss[0] !== '<') {
return;
}