]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-connect.php
But only when it is not empty
[mailer.git] / inc / mysql-connect.php
index f94fdb8b409ce12ff6d7ac1aa687947ab4eb2476..b79794bea0a486c1d1a9e5cfa2d364c17d849188 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -53,6 +53,7 @@ foreach ( array(
                'request',
                'session',
                'code',
+               'pool',
                'language',
                'sql',
                'expression',
@@ -61,7 +62,7 @@ foreach ( array(
                'extensions') as $lib) {
 
        // Add it
-       $__functions[] = $lib . '-functions';
+       array_push($__functions, $lib . '-functions');
 } // END - foreach
 
 // Load more function libraries or includes
@@ -131,6 +132,9 @@ if ((!isInstalling()) && (!isInstallationPhase())) {
        // CFG: DATABASE-TYPE
        setConfigEntry('_DB_TYPE', 'mysql3');
 
+       // Set link as down
+       unsetSqlLinkUp(__FILE__, __LINE__);
+
        // Load database layer here
        loadIncludeOnce('inc/db/lib.php');