Skip to content

2.5.1

Choose a tag to compare

@gumslone gumslone released this 02 Jul 21:12
· 60 commits to master since this release

2.5.1 — stability & recovery

Fixed

  • PHP 7.0 compatibility (HTTP 500 fixes) — removed : void return type from the i18n bootstrap and replaced [] array destructuring with list() in the Basic Auth block of config.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 on config.php (never the full bootstrap) and runs git locally without SSH, so you can update or recover GumCP from the browser even when a bad deploy has taken every other page down. Visit http://<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.sh runs the same check locally.

Upgrading

cd /var/www/html/GumCP && sudo git pull origin master

Or use the Update GumCP button on the Actions page — or the new update.php page.