path disclosure

This commit is contained in:
Marc Delisle
2003-07-19 22:47:29 +00:00
parent 9439bd3780
commit 9a6a496468
3 changed files with 10 additions and 4 deletions

View File

@@ -719,6 +719,10 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
// Gets the authentication library that fits the $cfg['Server'] settings
// and run authentication
// (for a quick check of path disclosure in auth/cookies:)
$coming_from_common = TRUE;
include('./libraries/auth/' . $cfg['Server']['auth_type'] . '.auth.lib.php3');
if (!PMA_auth_check()) {
PMA_auth();