Skip to content

Commit

Permalink
Enable localization before redirect
Browse files Browse the repository at this point in the history
This is needed in case of IIS which needs full HTML response.

Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jan 27, 2016
1 parent ccf3c36 commit d0a9bae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/common.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@
if ($GLOBALS['PMA_Config']->get('ForceSSL')
&& ! $GLOBALS['PMA_Config']->detectHttps()
) {
require './libraries/select_lang.lib.php';
// grab SSL URL
$url = $GLOBALS['PMA_Config']->getSSLUri();
// Actually redirect
Expand Down

0 comments on commit d0a9bae

Please sign in to comment.