aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-03-21 21:15:54 +0000
committerpatdenice <patdenice@piwigo.org>2010-03-21 21:15:54 +0000
commit54c9ceb0f4890c7f183842f9c3adefaad64c471b (patch)
tree95cbae46dfba49cdc9c7599e8c2fcaf35b8f6ed3 /include/common.inc.php
parent62ce6a7f152439d33b18363daf400818002b9234 (diff)
feature 1255: add pwg_select_db function.
git-svn-id: http://piwigo.org/svn/trunk@5230 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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 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();