mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 02:33:02 +02:00
Fix some issues with database connections.
install_db_connect() function must return database resource link insert into set syntax is mysql specific git-svn-id: http://piwigo.org/svn/trunk@5781 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -146,7 +146,7 @@ function install_db_connect(&$infos, &$errors)
|
||||
$pwg_db_link = pwg_db_connect($_POST['dbhost'], $_POST['dbuser'],
|
||||
$_POST['dbpasswd'], $_POST['dbname']);
|
||||
|
||||
return true;
|
||||
return $pwg_db_link;
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user