X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Fhtml%2Finstall.php;fp=inc%2Fhtml%2Finstall.php;h=7bab8efd67b21eed0fa9c9f52be97d38583ea4b5;hp=4b2d02cb3673dca4cc1a1a53d096015f807cce6b;hb=81b566d916827fa6ee03b6fbf06c180ec249e7e7;hpb=42ad41096b29573ca0429b316d364195eac02e8e diff --git a/inc/html/install.php b/inc/html/install.php index 4b2d02c..7bab8ef 100644 --- a/inc/html/install.php +++ b/inc/html/install.php @@ -54,12 +54,14 @@ function create_install_form () { if (isset ($_POST ["db_form_submit"])) { + $type = $_POST ["db_type"]; $host = $_POST ["db_host"]; $name = $_POST ["db_name"]; $user = $_POST ["db_user"]; $prefix = $_POST ["db_prefix"]; $title = $_POST ["site_title"]; } else { + $type = "mysql"; $host = "localhost"; $user = "syp"; $name = "syp"; @@ -70,6 +72,37 @@ print '