Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/auth/config.auth.lib.php')
-rw-r--r--libraries/auth/config.auth.lib.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/auth/config.auth.lib.php b/libraries/auth/config.auth.lib.php
index 3ca75f76df..404a9919ab 100644
--- a/libraries/auth/config.auth.lib.php
+++ b/libraries/auth/config.auth.lib.php
@@ -74,7 +74,8 @@ function PMA_auth_fails()
/* HTML header */
$GLOBALS['page_title'] = __('Access denied');
- $header = PMA_Header::getInstance();
+ $response = PMA_Response::getInstance();
+ $header = $response->getHeader();
$header->setTitle(__('Access denied'));
$header->disableMenu();
$header->display();
@@ -90,7 +91,7 @@ function PMA_auth_fails()
<td>
<?php
- PMA_Header::getInstance()->isHeaderSent = true;
+ PMA_Header::$headerIsSent = true;
if (isset($GLOBALS['allowDeny_forbidden']) && $GLOBALS['allowDeny_forbidden']) {
trigger_error(__('Access denied'), E_USER_NOTICE);