1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2024-11-13 09:39:03 +01:00

Merge branch 'master' of github.com:gcsolaroli/password-manager into php+gamma

This commit is contained in:
Giulio Cesare Solaroli 2012-02-08 23:08:46 +00:00
commit 17efce23d9

View File

@ -164,7 +164,7 @@ if(count($_POST) > 0 && $_SESSION['diagnosticsSuccessful']==false)
if ($errors == 0)
{
AddTrace('File Structure....OK!');
if (!@mysql_connect ($GLOBALS['configuration']['host'].":".$GLOBALS['configuration']['port'], $GLOBALS['configuration']['user'], $GLOBALS['configuration']['pass']))
if (!mysql_connect ($GLOBALS['configuration']['host'].":".$GLOBALS['configuration']['port'], $GLOBALS['configuration']['user'], $GLOBALS['configuration']['pass']))
{
$errors++;
AddError('Cannot connect to the specified database server. Edit configuration.php');