X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmysql-connect.php;h=a733ea9abd2440a6c38aa14c0f974e3fcc7b151d;hb=a6c65fe3bac46ab95bd9e49908c53cd6e3381ff8;hp=42b6a887dc41966c7e792983c6961eedb17841f0;hpb=a2ca374f65976d21651fffb64a78d3a9678bb3b8;p=mailer.git diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index 42b6a887dc..a733ea9abd 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -70,16 +70,12 @@ initMessages(); // Check if this file is writeable or read-only and warn the user if (!isInstalling()) { - // Load database layer here - loadIncludeOnce('inc/db/lib.php'); - - // Set missing module - if ((!isModuleSet()) && (isGetRequestElementSet('module'))) setModule(getRequestElement('module')); - if (!isModuleSet()) setModule('index'); - // Load configuration file(s) here loadIncludeOnce('inc/load_config.php'); + // Load database layer here + loadIncludeOnce('inc/db/lib.php'); + // CSS array initExtensionCssFiles(); @@ -109,9 +105,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();