From 16cb5036e23fd1dcc51e199ce56adc34f64c0e6e Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Tue, 10 Jul 2007 14:30:30 +0000 Subject: [PATCH] Hide connection error git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@102 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- abstraction.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abstraction.inc.php b/abstraction.inc.php index 162a995b..771f3875 100644 --- a/abstraction.inc.php +++ b/abstraction.inc.php @@ -6,7 +6,7 @@ if (extension_loaded("mysqli")) { } function connect($server, $username, $password) { - return $this->real_connect( + return @$this->real_connect( (strlen($server) ? $server : ini_get("mysqli.default_host")), (strlen("$server$username") ? $username : ini_get("mysqli.default_user")), (strlen("$server$username$password") ? $password : ini_get("mysqli.default_pw"))