bug #1615313, doc refers to auth_type HTTP so enable it

This commit is contained in:
Marc Delisle
2006-12-15 17:47:38 +00:00
parent c921839015
commit 14ff3c4729
4 changed files with 11 additions and 4 deletions

View File

@@ -3046,6 +3046,8 @@ if (! defined('PMA_MINIMUM_COMMON')) {
// (for a quick check of path disclosure in auth/cookies:)
$coming_from_common = true;
// to allow HTTP or http
$cfg['Server']['auth_type'] = strtolower($cfg['Server']['auth_type']);
if (!file_exists('./libraries/auth/' . $cfg['Server']['auth_type'] . '.auth.lib.php')) {
header('Location: error.php'
. '?lang=' . urlencode($available_languages[$lang][2])