databases.php is loaded by filter now
authorRoland Häder <roland@mxchange.org>
Fri, 30 Oct 2009 09:43:32 +0000 (09:43 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 30 Oct 2009 09:43:32 +0000 (09:43 +0000)
inc/databases.php
inc/filters.php
inc/mysql-connect.php

index 9eb216c..a3e8c4c 100644 (file)
@@ -83,7 +83,7 @@ setConfigEntry('SERVER_URL', 'http://www.mxchange.org');
 
 // Replacement strings
 $GLOBALS['replacer'] = array(
-       'userid'  => '%userid%',                // User-ID
+       'userid'  => '%userid%',        // User-ID
        'surname' => '%vorname%',       // Surname
        'family'  => '%nachname%',      // Family name
        'gender'  => '%anrede%',        // Gender
index f64b28f..174dad1 100644 (file)
@@ -660,7 +660,7 @@ function FILTER_RUN_DAILY_RESET () {
 // Filter for loading more runtime includes (not for installation)
 function FILTER_LOAD_RUNTIME_INCLUDES () {
        // Load more includes
-       foreach (array('inc/session.php','inc/versions.php') as $inc) {
+       foreach (array('inc/databases.php','inc/session.php','inc/versions.php') as $inc) {
                // Load the include
                loadIncludeOnce($inc);
        } // END - foreach
index 42b6a88..f6c1a1f 100644 (file)
@@ -109,9 +109,6 @@ if (!isInstalling()) {
                                // Run the init filter chain
                                runFilterChain('init');
 
-                               // Load "databases" aka static arrays
-                               loadIncludeOnce('inc/databases.php');
-
                                // Check module for permissions
                                $checkModule = checkModulePermissions();