aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.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 /upgrade.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 'upgrade.php')
-rw-r--r--upgrade.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/upgrade.php b/upgrade.php
index 4ea0db93c..afd0fe34f 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -33,14 +33,14 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
include(PHPWG_ROOT_PATH.'include/template.php');
include(PHPWG_ROOT_PATH.'include/mysql.inc.php');
include_once(PHPWG_ROOT_PATH.'include/constants.php');
-define('PREFIX_TABLE', $table_prefix);
+define('PREFIX_TABLE', $prefixeTable);
$conf['show_queries'] = false;
// Database connection
-mysql_connect( $dbhost, $dbuser, $dbpasswd )
+mysql_connect( $cfgHote, $cfgUser, $cfgPassword )
or die ( "Could not connect to database server" );
-mysql_select_db( $dbname )
+mysql_select_db( $cfgBase )
or die ( "Could not connect to database" );
// +-----------------------------------------------------------------------+
// | tricky output |