- Fixed
pretty_print
URL parameter bug that disabled users from turning pretty print off ifapi.php
page had it set to default on usingAPI::set_pretty_print()
. pretty_print
only works on version 5.4.0 and up. Prior versions of PHP do not allow use of the JSON_PRETTY_PRINT constant and was causing an error.- Changed
header
on pages to outputapplication/json
instead oftext/javascript
- Added documentation for how to insert/update using the static
Database
class in README Database::execute_from_assoc()
now takes only 3 parameters as of commit 83e52cf4API::__construct()
now dies throwing config_error if database connection is not made- Added
examples/
folder with two example files. More to come! - Minor improvements to README