aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.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 /include/common.inc.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 'include/common.inc.php')
-rw-r--r--include/common.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index d921a280d..68c4e6434 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -126,9 +126,9 @@ include(PHPWG_ROOT_PATH . 'include/functions.inc.php');
include(PHPWG_ROOT_PATH . 'include/template.php');
// 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" );
//