X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmysql-connect.php;h=5cd6a3cf45277990ba93d498c8da49ef1fe61e85;hp=e25d40dfc7aeb7f31643bc116e777d2ae3ffb1fe;hb=8cab12aa2bd0bd1de03a377b37cd42faae64b0e1;hpb=f61f2c11ec3d2a68a6663d1dda4f5d1f2ca3383b diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index e25d40dfc7..5cd6a3cf45 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -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', @@ -103,7 +104,7 @@ initRepositoryData(); enableTemplateHtml(); // Are we in installation phase? -if ((!isInstalling()) && (!isInstallationPhase())) { +if ((!isInstaller()) && (isInstalled())) { // Load configuration file(s) here loadIncludeOnce('inc/load_config.php'); @@ -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'); @@ -139,7 +143,7 @@ if ((!isInstalling()) && (!isInstallationPhase())) { // Include more foreach (array('databases', 'session', 'versions', 'install-functions', 'load_config', 'load_cache') as $inc) { - // Load the include + // Load include file loadIncludeOnce('inc/' . $inc . '.php'); } // END - foreach