mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-14 18:49:03 +01:00
Merge pull request #24 from acozzette/master
Trivial change to setup/index.php in the PHP backend
This commit is contained in:
commit
96d01919d3
@ -164,7 +164,7 @@ if(count($_POST) > 0 && $_SESSION['diagnosticsSuccessful']==false)
|
|||||||
if ($errors == 0)
|
if ($errors == 0)
|
||||||
{
|
{
|
||||||
AddTrace('File Structure....OK!');
|
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++;
|
$errors++;
|
||||||
AddError('Cannot connect to the specified database server. Edit configuration.php');
|
AddError('Cannot connect to the specified database server. Edit configuration.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user