]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-connect.php
min->max replaced
[mailer.git] / inc / mysql-connect.php
index 65ef9187faee9137559fe933fef3865086c85f6f..2337fa7ccab316722e8702be568000d7a0bd3018 100644 (file)
@@ -55,7 +55,6 @@ require_once(PATH."inc/mysql-manager.php"); // Functions which interact with the
 
 // Load extensions and language
 require_once(PATH."inc/extensions.php");
-require_once(PATH."inc/language.php");
 
 // Init error handler
 function __errorHandler ($errno, $errstr, $errfile, $errline) {
@@ -112,6 +111,7 @@ if ((!isBooleanConstantAndTrue('mxchange_installing')) && (isBooleanConstantAndT
                        // Is it a valid resource?
                        if ($db === true) {
                                // Remove MySQL array from namespace
+                               define('__DB_NAME', $MySQL['dbase']);
                                unset($MySQL);
 
                                // Load configuration stuff