]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-connect.php
Fixed a lot typos, thanks to profi-concept
[mailer.git] / inc / mysql-connect.php
index 966f799f5691ae0f14a0d39c94345a00a6f5ca1a..23fd43926c133639d01bc736ac5a69797251c457 100644 (file)
@@ -41,7 +41,7 @@ if (!defined('__SECURITY')) {
 define('DEBUG_SQL', false);
 
 // Non-database functions
 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");  
 
 // 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 <a href=\"{!URL!}\">the main page</a> to continue.");
        } else {
                // No debug extension found, so regular output
                mxchange_die("Error message written to debug.log. Please try to call <a href=\"{!URL!}\">the main page</a> to continue.");
        } else {
                // No debug extension found, so regular output
-               debug_report_bug();
+               debug_report_bug($msg);
        }
 }
 
        }
 }