aboutsummaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'install.php')
-rw-r--r--install.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/install.php b/install.php
index 2e82a9709..135c7fb47 100644
--- a/install.php
+++ b/install.php
@@ -168,7 +168,7 @@ $infos = array();
$errors = array();
// Open config.php ... if it exists
-$config_file = PHPWG_ROOT_PATH.'include/mysql.inc.php';
+$config_file = PHPWG_ROOT_PATH.'include/config_database.inc.php';
if (@file_exists($config_file))
{
include($config_file);
@@ -291,10 +291,10 @@ if ( isset( $_POST['install'] ))
{
$step = 2;
$file_content = '<?php
-$cfgBase = \''.$dbname.'\';
-$cfgUser = \''.$dbuser.'\';
-$cfgPassword = \''.$dbpasswd.'\';
-$cfgHote = \''.$dbhost.'\';
+$conf[\'db_base\'] = \''.$dbname.'\';
+$conf[\'db_user\'] = \''.$dbuser.'\';
+$conf[\'db_password\'] = \''.$dbpasswd.'\';
+$conf[\'db_host\'] = \''.$dbhost.'\';
$prefixeTable = \''.$table_prefix.'\';