]> git.mxchange.org Git - mailer.git/commitdiff
Still a bit silly but seems to work
authorRoland Häder <roland@mxchange.org>
Sun, 26 Jul 2009 12:47:47 +0000 (12:47 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 26 Jul 2009 12:47:47 +0000 (12:47 +0000)
inc/mysql-connect.php

index 20d19f4b365de63b4a3f94801aa4fa46b7cfa14d..7bf73db0fbb7e8cce49af4171a5fa9ac3b7bec12 100644 (file)
@@ -68,12 +68,6 @@ if ((!isInstalling()) && (isInstalled())) {
        // Load "databases" aka static arrays
        loadIncludeOnce('inc/databases.php');
 
-       // Init session
-       loadIncludeOnce('inc/session.php');
-
-       // Load versions
-       loadIncludeOnce('inc/versions.php');
-
        // Load configuration file(s) here
        loadIncludeOnce('inc/load_config.php');
 
@@ -101,6 +95,12 @@ if ((!isInstalling()) && (isInstalled())) {
                                // Load configuration stuff
                                loadConfiguration();
 
+                               // Init session
+                               loadIncludeOnce('inc/session.php');
+
+                               // Load versions
+                               loadIncludeOnce('inc/versions.php');
+
                                // Loading patching system is required here...
                                loadIncludeOnce('inc/patch-system.php');
 
@@ -231,6 +231,12 @@ if ((!isInstalling()) && (isInstalled())) {
        loadIncludeOnce('inc/load_config.php');
 }
 
+// Init session
+loadIncludeOnce('inc/session.php');
+
+// Load versions
+loadIncludeOnce('inc/versions.php');
+
 if ((getTotalFatalErrors() > 0) && (isInstalled()) && (!isInstalling()) && ($GLOBALS['output_mode'] != '1')) {
        // One or more fatal error(s) occur during connect...
        loadIncludeOnce('inc/header.php');