Releases: jxmot/php-http_error_page
Releases · jxmot/php-http_error_page
Bug Fix
Had to change the path to httperror.json
in httperror.php
. It worked with testhttperror.php
but failed when ran directly. Added an environment variable("ERRPAGE_JSON_PATH") that is set in testhttperror.php
to ./errpages/
. And httperror.php
prepends to the JSON file name.
Updated
- HTTP error codes and associated messages have been moved from
httperror.php
to httperror.json
.
- The file
httperror.php
was modified to use the JSON data.
- README updated.
Updated
- fixed _BASE_PATH when isLive() === true
- made improvements, some refactoring too
- added testhttperror.php for testing httperror.php
- updated README
Ready to use
Two background choices are available, a random image or a moving gradient of random colors. See the README
Image size reduction
v1.0.1
reduced image file sizes
Ready to deploy
This is the first release. The code has been tested on live servers. Please see the README for detailed information.