Repository navigation
2.5.1
2.5.1 — stability & recovery
Fixed
- PHP 7.0 compatibility (HTTP 500 fixes) — removed
: voidreturn type from the i18n bootstrap and replaced[]array destructuring withlist()in the Basic Auth block ofconfig.example.php. Both are PHP 7.1+ syntax and broke sites on PHP 7.0. - Language persistence — the navbar language choice now sticks across pages (processed early in
init.php, stored in a cookie + session).
Added
update.php— a standalone recovery updater. It depends only onconfig.php(never the full bootstrap) and runsgitlocally without SSH, so you can update or recover GumCP from the browser even when a bad deploy has taken every other page down. Visithttp://<your-pi-ip>/GumCP/update.php.- PHP 7.0 CI — every push is now linted against a real PHP 7.0 runtime, so 7.1+ syntax can never reach a release again. A matching
scripts/check-php70.shruns the same check locally.
Upgrading
cd /var/www/html/GumCP && sudo git pull origin masterOr use the Update GumCP button on the Actions page — or the new update.php page.