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

This commit is contained in:
Marc Delisle
2006-12-15 17:36:07 +00:00
parent 889d92293b
commit fe04269703
4 changed files with 10 additions and 3 deletions

View File

@@ -3195,6 +3195,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])