1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Moved sql_close() down, after the cache is unloaded.

git-svn-id: file:///svn/phpbb/trunk@4365 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud
2003-08-10 18:42:20 +00:00
parent 145399b4bc
commit 0c3708ecc6
2 changed files with 15 additions and 23 deletions

View File

@@ -111,14 +111,14 @@ function adm_page_footer($copyright_html = true)
{
global $cache, $config, $db, $phpEx;
// Close our DB connection.
$db->sql_close();
if (!empty($cache))
{
$cache->unload();
}
// Close our DB connection.
$db->sql_close();
?>
</td>