Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c80ce3fde4
@ -79,8 +79,9 @@ class AuthenticationCookie extends AuthenticationPlugin
|
||||
sprintf(
|
||||
'<a href="%s" class="ajax login-link">%s</a>',
|
||||
$GLOBALS['cfg']['PmaAbsoluteUri'],
|
||||
__('Log in')) .
|
||||
' ]';
|
||||
__('Log in')
|
||||
)
|
||||
. ' ]';
|
||||
|
||||
if (! empty($conn_error)) {
|
||||
|
||||
@ -264,7 +265,10 @@ class AuthenticationCookie extends AuthenticationPlugin
|
||||
// show the "Cookies required" message only if cookies are disabled
|
||||
// (we previously tried to set some cookies)
|
||||
if (empty($_COOKIE)) {
|
||||
trigger_error(__('Cookies must be enabled past this point.'), E_USER_NOTICE);
|
||||
trigger_error(
|
||||
__('Cookies must be enabled past this point.'),
|
||||
E_USER_NOTICE
|
||||
);
|
||||
}
|
||||
if ($GLOBALS['error_handler']->hasDisplayErrors()) {
|
||||
echo '<div>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user