mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 08:43:31 +02:00
feature:65 pwg_db_connect doesn't return anything now
git-svn-id: http://piwigo.org/svn/trunk@20720 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -314,11 +314,9 @@ function upgrade_db_connect()
|
||||
|
||||
try
|
||||
{
|
||||
$pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'], $conf['db_password'], $conf['db_base']);
|
||||
if ($pwg_db_link)
|
||||
{
|
||||
pwg_db_check_version();
|
||||
}
|
||||
pwg_db_connect($conf['db_host'], $conf['db_user'],
|
||||
$conf['db_password'], $conf['db_base']);
|
||||
pwg_db_check_version();
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user