aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.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 /upgrade.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 'upgrade.php')
-rw-r--r--upgrade.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrade.php b/upgrade.php
index 42c9dc587..761eb4147 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -52,8 +52,8 @@ define('PREFIX_TABLE', $prefixeTable);
// 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();