2 Commits
Author SHA1 Message Date
CydandClaude Opus 4.8 905c46c4c4 Rewrite api.php: parameterized, no DEBUG output
- Strip DEBUG echoes. The 'call is set' line was prefixing the updateinfo JSON
  response, breaking JSON.parse on the display walls so the info-panel
  auto-refresh silently never fired.
- Parameterize updatemerc (was SQL-injectable via $_GET[playerid]).
- Use includes/db.php helpers; set JSON content-type on updateinfo.

Verified: updateinfo returns clean "0"/"1"; updatemerc add/remove flips the
flag; empty response on merc toggle.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 13:50:51 -05:00
CydandClaude Opus 4.8 22e59d6290 Initial commit of PQS
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 10:59:51 -05:00