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 88354b5fe..720dc32e7 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -105,8 +105,8 @@ include( PHPWG_ROOT_PATH .'include/template.class.php'); // Database connection $pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'], - $conf['db_password'], $conf['db_base']) - or my_error('pwg_db_connect', true); + $conf['db_password'], $conf['db_base']); +pwg_select_db($conf['db_base'], $pwg_db_link); pwg_db_check_charset(); |