Added missing 'extension' initialization in installer and used EL code there + fixed...
[mailer.git] / inc / install / install_page_2.php
index 450f1787e97070c634dd31d16c0be1e9b60e81a6..337e8df68d0280aa325a3e736476ee1d104175ed 100644 (file)
@@ -41,11 +41,12 @@ if ((!defined('__SECURITY')) || (!isInstaller())) {
 } // END - if
 
 // Prepare emissing elements
 } // END - if
 
 // Prepare emissing elements
-if (empty($GLOBALS['install_mysql']['dbase']))  $GLOBALS['install_mysql']['dbase']  = 'your_database';
-if (empty($GLOBALS['install_mysql']['login']))  $GLOBALS['install_mysql']['login']  = 'your_login';
-if (empty($GLOBALS['install_mysql']['host']))   $GLOBALS['install_mysql']['host']   = 'localhost';
-if (empty($GLOBALS['install_mysql']['prefix'])) $GLOBALS['install_mysql']['prefix'] = 'mailer';
-if (empty($GLOBALS['install_mysql']['type']))   $GLOBALS['install_mysql']['type']   = 'MyISAM';
+if (empty($GLOBALS['install_mysql']['dbase']))     $GLOBALS['install_mysql']['dbase']     = 'your_database';
+if (empty($GLOBALS['install_mysql']['login']))     $GLOBALS['install_mysql']['login']     = 'your_login';
+if (empty($GLOBALS['install_mysql']['host']))      $GLOBALS['install_mysql']['host']      = 'localhost';
+if (empty($GLOBALS['install_mysql']['prefix']))    $GLOBALS['install_mysql']['prefix']    = 'mailer';
+if (empty($GLOBALS['install_mysql']['type']))      $GLOBALS['install_mysql']['type']      = 'MyISAM';
+if (empty($GLOBALS['install_mysql']['extension'])) $GLOBALS['install_mysql']['extension'] = 'mysqli';
 
 // Are there errors?
 if (ifFatalErrorsDetected()) {
 
 // Are there errors?
 if (ifFatalErrorsDetected()) {