aboutsummaryrefslogtreecommitdiffstats
path: root/include/dblayer/functions_mysql.inc.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-02-28 21:11:23 +0000
committernikrou <nikrou@piwigo.org>2010-02-28 21:11:23 +0000
commit0c8e06da4aa4f0dc306e099c9709a04415e4dfb2 (patch)
tree6e22288599e45018a324392796b245e09ff40089 /include/dblayer/functions_mysql.inc.php
parent4c209bf180f3ab7775b71c00eaf780b8aab38fa5 (diff)
Feature 1255 : bug in install with mysql and postgresql if some form parameters are missing.
git-svn-id: http://piwigo.org/svn/trunk@5006 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/dblayer/functions_mysql.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dblayer/functions_mysql.inc.php b/include/dblayer/functions_mysql.inc.php
index 50253237f..80e13c50e 100644
--- a/include/dblayer/functions_mysql.inc.php
+++ b/include/dblayer/functions_mysql.inc.php
@@ -34,8 +34,8 @@ define('DB_RANDOM_FUNCTION', 'RAND');
function pwg_db_connect($host, $user, $password, $database)
{
- $link = mysql_connect($host, $user, $password) or my_error('mysql_connect', true);
- mysql_select_db($database, $link) or my_error('mysql_select_db', true);
+ $link = mysql_connect($host, $user, $password) or my_error('mysql_connect', false);
+ mysql_select_db($database, $link) or my_error('mysql_select_db', false);
return $link;
}