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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user