]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-connect.php
Don't attempt to load configuration or count modules in installation phase
[mailer.git] / inc / mysql-connect.php
index 767227bc65ddec21b4273e279d24903658123bfc..df7a3d17513adc11a84cac77023f2be3aab56025 100644 (file)
@@ -70,7 +70,7 @@ foreach (array('filters', 'mysql-manager', 'handler') as $lib) {
 set_error_handler('__errorHandler');
 
 // Disable block-mode by default
-enableBlockMode(false);
+enableBlockMode(FALSE);
 
 // Init error handler
 initErrorHandler();
@@ -119,8 +119,8 @@ if ((!isInstalling()) && (!isInstallationPhase())) {
                        enableExitOnError();
 
                        // Is it a valid resource?
-                       if (SQL_SELECT_DB($GLOBALS['mysql']['dbase'], __FILE__, __LINE__) === true) {
-                               // Set database name (required for ext-optimize and isSqlTableCreated())
+                       if (SQL_SELECT_DB($GLOBALS['mysql']['dbase'], __FILE__, __LINE__) === TRUE) {
+                               // Set database name (required for ext-optimize and ifSqlTableExists())
                                setConfigEntry('__DB_NAME', $GLOBALS['mysql']['dbase']);
 
                                // Remove MySQL array from namespace