From e57fcde535326ae68c2cc93b283f2f8e6c7426a0 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 7 Dec 2007 17:57:45 +0000 Subject: [PATCH] improve formatting of strAccessDeniedExplanation --- libraries/auth/config.auth.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/auth/config.auth.lib.php b/libraries/auth/config.auth.lib.php index cdea1084d..b318a45f7 100644 --- a/libraries/auth/config.auth.lib.php +++ b/libraries/auth/config.auth.lib.php @@ -112,7 +112,7 @@ function PMA_auth_fails() // rejected the connection, which is not really what happened) // 2002 is the error given by mysqli // 2003 is the error given by mysql - echo '

' . $GLOBALS['strAccessDeniedExplanation'] . '

' . "\n"; + trigger_error($GLOBALS['strAccessDeniedExplanation'], E_USER_WARNING); } PMA_mysqlDie($conn_error, '', true, '', false); }