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 60530a1 commit d4b9c22
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 @@ -340,6 +340,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 d4b9c22

Please sign in to comment.