From 704424669d3318714d19ead16ee71df6dab6450e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 27 Sep 2008 15:08:44 +0000 Subject: [PATCH] Error handler activated --- inc/databases.php | 2 +- inc/mysql-connect.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index efe925d5bc..c18f238d5c 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "395"); +define('CURR_SVN_REVISION', "396"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index 4020ecdc46..3a872ef0a9 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -72,7 +72,7 @@ function __errorHandler ($errno, $errstr, $errfile, $errline) { } // Set error handler -//set_error_handler('__errorHandler'); +set_error_handler('__errorHandler'); // Check if the user setups his MySQL stuff... if ((empty($MySQL['login'])) && (!defined('mxchange_installing')) && (!isset($_GET['installing'])) && (isBooleanConstantAndTrue('mxchange_installed'))) { -- 2.30.2