|
|
|
|
"Basically I was nagged by having to guess the origin of SQL-Errors while changing OSC (porting to PostgreSQL).
PHP just reports one line and not a stacktrace - so this guessing took an awful lot of time. Therefore I've written an enhanced PHP-Errorhandler to be included with just one line in application_top.
The code can be used with about any PHP project, but is dedicated to OSC due to the nature of the database-access-functions.
I've taken care of security as much as possible, but be sure to have completely read the Notes in the file itself.
Most important features:
- formatted HTML stacktrace on error
- shows contents of passed variables
- installs by adding just one line
- protects db-connect-credentials" |
|
|
|
 |
| For more information, visit the official osCommerce contribution webpage. |
 |
|
|