]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-connect.php
Fixed bug 'sprintf() too few arguments':
[mailer.git] / inc / mysql-connect.php
index edd9c0eb5285f3bf0b22213b4dea843439013539..5cd6a3cf45277990ba93d498c8da49ef1fe61e85 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 *
@@ -104,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');
 
@@ -143,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