install/install.php: fix self-induced deletion of config.php creation - I blame my main laptop's touchpad for this
install/install.php: fix self-induced deletion of config.php creation - I blame my main laptop's touchpad for this

--- a/install/install.php
+++ b/install/install.php
@@ -1028,6 +1028,14 @@
 				if (empty($sitekey)) $sitekey = random_string($randomcharset, 10);
 				$language = $_POST['language'];
 				$settingsprefix = htmlspecialchars(descript($_POST['settingsprefix'], ENT_QUOTES));
+				$settingsprefix = descript($_POST['settingsprefix']);
+				$text = "<?php \n".
+					"\$dbhost = ".var_export(($dbhost), true).";\n".
+					"\$dbname = ".var_export(($dbname), true).";\n".
+					"\$dbuser= ".var_export(($dbuser), true).";\n".
+					"\$dbpass = ".var_export(($dbpass), true).";\n".
+					"\$sitekey = ".var_export(($sitekey), true).";\n".
+					"\$settingsprefix = ".var_export(($settingsprefix), true).";\n\n".
 					"include(\"includes/dbfunctions.php\");\n".
 					"?>";