aboutsummaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-01-08 23:32:25 +0000
committerplegall <plg@piwigo.org>2005-01-08 23:32:25 +0000
commit34354aa6a950ee92a1b7b3928bcfa766065dfef9 (patch)
treeaf0658ec0bf203af33f63ed516b9bef4c09dc68f /install.php
parent971d0c5a9593d2a8d8ad0eff70c9dba1ca06a606 (diff)
- replacement of variable names in include/mysql.inc.php (for upgrades) :
dbname => cfgBase dbuser => cfgUser dbpasswd => cfgPassword dbhost => cfgHote table_prefix => prefixeTable git-svn-id: http://piwigo.org/svn/trunk@681 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--install.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/install.php b/install.php
index 692b87231..a4e21df62 100644
--- a/install.php
+++ b/install.php
@@ -251,12 +251,12 @@ if ( isset( $_POST['install'] ))
{
$step = 2;
$file_content = "<?php";
- $file_content.= "\n\$dbname = '". $dbname."';";
- $file_content.= "\n\$dbuser = '". $dbuser."';";
- $file_content.= "\n\$dbpasswd = '". $dbpasswd."';";
- $file_content.= "\n\$dbhost = '". $dbhost."';";
+ $file_content.= "\n\$cfgBase = '". $dbname."';";
+ $file_content.= "\n\$cfgUser = '". $dbuser."';";
+ $file_content.= "\n\$cfgPassword = '". $dbpasswd."';";
+ $file_content.= "\n\$cfgHote = '". $dbhost."';";
$file_content.= "\n";
- $file_content.= "\n\$table_prefix = '".$table_prefix."';";
+ $file_content.= "\n\$prefixeTable = '".$table_prefix."';";
$file_content.= "\n";
$file_content.= "\ndefine('PHPWG_INSTALLED', true);";
$file_content.= "\n?".">";