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
|
* read_dump.php3, lines 286-288; lang/*: "there is no query" were displayed
|
||||||
when deleting a bookmark.
|
when deleting a bookmark.
|
||||||
* Documentation.php3; main.php3; libraries/common.lib.php3: feature request
|
* Documentation.php3; main.php3; libraries/common.lib.php3: feature request
|
||||||
#??? (will update this whn SF is up) - Improved security by no long
|
#450246 - Authentication: don't give stduser access to encrypted passw.
|
||||||
requiring the "SELECT" privilege on the "Password" field for the standard
|
|
||||||
user.
|
|
||||||
* Documentation.html: added faq entries about a Xitami 2.5b4 bug and a
|
* Documentation.html: added faq entries about a Xitami 2.5b4 bug and a
|
||||||
widespread IIS misconfiguration problem.
|
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>
|
2001-10-27 Olivier M<>ller <om@omnis.ch>
|
||||||
* config.inc.php3: put the ENCRYPT function back to the config file.
|
* 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
|
// In this file you may add PHP or HTML statements that will be used to define
|
||||||
// the footer for phpMyAdmin pages.
|
// the footer for phpMyAdmin pages.
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Close MySql connections
|
||||||
|
*/
|
||||||
|
if (isset($dbh) && $dbh) {
|
||||||
|
mysql_close($dbh);
|
||||||
|
}
|
||||||
|
if (isset($userlink) && $userlink) {
|
||||||
|
mysql_close($userlink);
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
Reference in New Issue
Block a user