mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
- 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:
@@ -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" );
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user