/libraries cleanup hopefully done. Double-Checked every change, my installation still works. ;)

Will continue working on remaining files tomorrow and hope to make it to the end of the next day.
This commit is contained in:
Garvin Hicking
2003-11-20 16:31:51 +00:00
parent 5936e8300f
commit f0da471ec3
50 changed files with 315 additions and 679 deletions

View File

@@ -150,16 +150,16 @@ h1 {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo
if (empty($PHP_AUTH_USER) && empty($PHP_AUTH_PW)
&& function_exists('base64_decode')) {
if (!empty($HTTP_AUTHORIZATION)
&& ereg('^Basic ', $HTTP_AUTHORIZATION)) {
&& substr($HTTP_AUTHORIZATION, 0, 6) == 'Basic ') {
list($PHP_AUTH_USER, $PHP_AUTH_PW) = explode(':', base64_decode(substr($HTTP_AUTHORIZATION, 6)));
}
else if (!empty($_ENV)
&& isset($_ENV['HTTP_AUTHORIZATION'])
&& ereg('^Basic ', $_ENV['HTTP_AUTHORIZATION'])) {
&& substr($_ENV['HTTP_AUTHORIZATION'], 0, 6) == 'Basic ') {
list($PHP_AUTH_USER, $PHP_AUTH_PW) = explode(':', base64_decode(substr($_ENV['HTTP_AUTHORIZATION'], 6)));
}
else if (@getenv('HTTP_AUTHORIZATION')
&& ereg('^Basic ', getenv('HTTP_AUTHORIZATION'))) {
&& substr(getenv('HTTP_AUTHORIZATION'), 0, 6) == 'Basic ') {
list($PHP_AUTH_USER, $PHP_AUTH_PW) = explode(':', base64_decode(substr(getenv('HTTP_AUTHORIZATION'), 6)));
}
} // end IIS
@@ -237,4 +237,4 @@ h1 {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo
} // end of the 'PMA_auth_fails()' function
} // $__PMA_HTTP_AUTH_LIB__
?>
?>