Modify query_error() to log errors to a database table instead of displaying them on the screen. This should
let us more easily debug difficult or intermittent issues that users may not report. Add a cron to report logged errors to appdb admins every night. Implement some basic unit tests for the new error logging code
This commit is contained in:
@@ -11,6 +11,7 @@ require(BASE."include/user.php");
|
||||
require(BASE."include/session.php");
|
||||
require(BASE."include/menu.php");
|
||||
require(BASE."include/html.php");
|
||||
require(BASE."include/error_log.php");
|
||||
require(BASE."include/query.php");
|
||||
|
||||
/* if magic quotes are enabled make sure the user disables them */
|
||||
|
||||
Reference in New Issue
Block a user