diff options
-rw-r--r-- | install.php | 2 | ||||
-rw-r--r-- | templates/show_install_config.inc.php | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/install.php b/install.php index f925e560..8789b4a1 100644 --- a/install.php +++ b/install.php @@ -96,6 +96,8 @@ switch ($_REQUEST['action']) { break; case 'create_config': + $htmllang = $_REQUEST['htmllang']; + $charset = $_REQUEST['charset']; // Test and make sure that the values they give us actually work if (!check_database($hostname,$username,$password)) { Error::add('config',_('Error: Unable to make Database Connection') . mysql_error()); diff --git a/templates/show_install_config.inc.php b/templates/show_install_config.inc.php index bbf38e34..70d95975 100644 --- a/templates/show_install_config.inc.php +++ b/templates/show_install_config.inc.php @@ -84,7 +84,11 @@ $prefix = realpath(dirname(__FILE__). "/../"); </tr> <tr> <td> </td> - <td><input type="submit" value="<?php echo _('Write Config'); ?>" /></td> + <td> + <input type="submit" value="<?php echo _('Write Config'); ?>" /> + <input type="hidden" name="htmllang" value="<?php echo $htmllang; ?>" /> + <input type="hidden" name="charset" value="<?php echo $charset; ?>" /> + </td> </tr> </table> </form> |