closed MySQL connection in footer.inc.php3
This commit is contained in:
@@ -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 <om@omnis.ch>
|
||||
* config.inc.php3: put the ENCRYPT function back to the config file.
|
||||
|
@@ -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);
|
||||
}
|
||||
?>
|
||||
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user