3 Commits
Author SHA1 Message Date
CydandClaude Opus 4.8 b6e6feca32 Fix config.php: fetch pqs_pods row before reading pod vars
The pod query result was never fetched, so $pod01..16 (and their $_SESSION
copies) read a stale row - silent on PHP 5, noisy warnings on PHP 8. Add the
missing mysqli_fetch_array. Behavior otherwise unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 13:41:23 -05:00
CydandClaude Opus 4.8 061291c951 Add centralized DB helper; fix legacy mysql_error() landmines
- includes/db.php: shared mysqli connection + parameterized query helpers
  (pqs_db/pqs_exec/pqs_rows/pqs_row/pqs_val), targets PHP 7.4+.
- Replace 11 mysql_error() calls (undefined function on PHP 7+) with
  mysqli_error($link) / mysqli_connect_error() across getFSgame, getFSplayers,
  config, callsign, console. Only affected already-failed error paths.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 12:51:13 -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