- 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
This commit is contained in:
plegall
2005-01-08 23:32:25 +00:00
parent 971d0c5a95
commit 34354aa6a9
4 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -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" );
//