aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-02-12 11:06:00 +0000
committermistic100 <mistic@piwigo.org>2013-02-12 11:06:00 +0000
commite8bdcecfeb97a8f12d7c1de06f77067a4dd307e1 (patch)
tree81e149470c32b435d2c49ebd0774fe1a822a694a /include
parent758f29eb7d5372421b09e484cdbcd01d561b923c (diff)
feature:65 pwg_db_connect doesn't return anything now
git-svn-id: http://piwigo.org/svn/trunk@20720 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-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 2891c40e4..d05771ade 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -111,8 +111,8 @@ include(PHPWG_ROOT_PATH . 'include/functions.inc.php');
// Database connection
try
{
- $pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'],
- $conf['db_password'], $conf['db_base']);
+ pwg_db_connect($conf['db_host'], $conf['db_user'],
+ $conf['db_password'], $conf['db_base']);
}
catch (Exception $e)
{