X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmysql-connect.php;h=23fd43926c133639d01bc736ac5a69797251c457;hp=966f799f5691ae0f14a0d39c94345a00a6f5ca1a;hb=f18a3b60125c8c65861e3205da40447b227f89c9;hpb=7b9f2d4c956e37c4c079c1e612ecd6a7947e7e05 diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index 966f799f56..23fd43926c 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -41,7 +41,7 @@ if (!defined('__SECURITY')) { define('DEBUG_SQL', false); // Non-database functions -LOAD_INC_ONCE("inc/functions.php"); +require("inc/functions.php"); // Filter functions LOAD_INC_ONCE("inc/filters.php"); @@ -74,7 +74,7 @@ function __errorHandler ($errno, $errstr, $errfile, $errline) { mxchange_die("Error message written to debug.log. Please try to call the main page to continue."); } else { // No debug extension found, so regular output - debug_report_bug(); + debug_report_bug($msg); } }