mirror of
				http://git.whoc.org.uk/git/password-manager.git
				synced 2025-10-31 19:27:34 +01:00 
			
		
		
		
	Removing the @ sign in @mysql_connect so that if the MySQL module is not
installed, the Apache log will have an informative error message.
This commit is contained in:
		| @@ -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'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Adam Cozzette
					Adam Cozzette