version.php 570 B

12345678910111213141516
  1. <?php
  2. /**
  3. * The installed software version, single source of truth.
  4. *
  5. * It is written here by scripts/create-release-zip.sh when a release package is
  6. * built, and changes on an installation as a side effect of an update copying
  7. * this file over. Nothing writes it at runtime.
  8. *
  9. * The manage client reads the literal below with a regular expression rather
  10. * than by loading the file (see manage-client/config.php), so the value stays
  11. * readable even in a request that already defined the constant.
  12. */
  13. declare(strict_types=1);
  14. define('APP_VERSION', 'v1.2.0');