diff --git a/ChangeLog b/ChangeLog index 47878328c..787551601 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,11 +10,11 @@ $Source$ * read_dump.php3, lines 286-288; lang/*: "there is no query" were displayed when deleting a bookmark. * Documentation.php3; main.php3; libraries/common.lib.php3: feature request - #??? (will update this whn SF is up) - Improved security by no long - requiring the "SELECT" privilege on the "Password" field for the standard - user. + #450246 - Authentication: don't give stduser access to encrypted passw. * Documentation.html: added faq entries about a Xitami 2.5b4 bug and a widespread IIS misconfiguration problem. + * footer.inc.php3: closed MySQL connection in this script (it seems this + may be required for RedHat 7.1 at least). 2001-10-27 Olivier Müller * config.inc.php3: put the ENCRYPT function back to the config file. diff --git a/footer.inc.php3 b/footer.inc.php3 index 383fb8d39..7e59c93a8 100755 --- a/footer.inc.php3 +++ b/footer.inc.php3 @@ -4,6 +4,16 @@ // In this file you may add PHP or HTML statements that will be used to define // the footer for phpMyAdmin pages. + +/** + * Close MySql connections + */ +if (isset($dbh) && $dbh) { + mysql_close($dbh); +} +if (isset($userlink) && $userlink) { + mysql_close($userlink); +} ?>