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])

View File

@@ -69,7 +69,7 @@ $cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http, signon or cookie based)?
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (valid choices: config, http, HTTP, signon or cookie)
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)