diff options
Diffstat (limited to '')
-rw-r--r-- | include/common.inc.php | 4 |
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" ); // |