From 34354aa6a950ee92a1b7b3928bcfa766065dfef9 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 8 Jan 2005 23:32:25 +0000 Subject: - 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 --- upgrade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'upgrade.php') 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 | -- cgit v1.2.3