mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
- added class="radio" to all radio- and checkboxes
- make sure the database gets closed correctly in cron.php - bugfixes git-svn-id: file:///svn/phpbb/trunk@6055 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -2747,6 +2747,19 @@ function page_footer()
|
||||
|
||||
$template->display('body');
|
||||
|
||||
garbage_collection();
|
||||
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Closing the cache object and the database
|
||||
* Cool function name, eh? We might want to add operations to it later
|
||||
*/
|
||||
function garbage_collection()
|
||||
{
|
||||
global $cache, $db;
|
||||
|
||||
// Unload cache, must be done before the DB connection if closed
|
||||
if (!empty($cache))
|
||||
{
|
||||
@@ -2755,8 +2768,6 @@ function page_footer()
|
||||
|
||||
// Close our DB connection.
|
||||
$db->sql_close();
|
||||
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user