$sql = str_replace("\n\n", "\n", $sql);
// And split it up against ;\n ...
- $SQLs = array_merge($SQLs, explode(";\n", $sql));
+ $SQLs = merge_array($SQLs, explode(";\n", $sql));
} // END - if
} // END - foreach
install_WriteData($_POST['spath']."inc/config.php", "SMTP-USER", "define('SMTP_USER', \"", "\");", $_POST['smtp_user'], 0);
install_WriteData($_POST['spath']."inc/config.php", "SMTP-PASSWORD", "define('SMTP_PASSWORD', \"", "\");", $_POST['smtp_pass'], 0);
install_WriteData($_POST['spath']."inc/config.php", "INSTALLED", "define('mxchange_installed', ", ");", "true", 0);
-
- // Close the link
- SQL_CLOSE($link, __FILE__, __LINE__);
} else {
// Installation area not found!
ADD_FATAL(INSTALL_MISSING_DUMPS);