diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-13 15:06:32 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-13 15:06:32 +0000 |
| commit | e1437d7a21e294b7531cbd6acd5b77814c82ec8b (patch) | |
| tree | aa9f835fb87678577103091c2bb708f071867e73 /phpBB/includes/functions.php | |
| parent | 298d3c0c50f14601472b832f3ecd8fcd8c07dfe4 (diff) | |
| download | forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.tar forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.tar.gz forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.tar.bz2 forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.tar.xz forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.zip | |
- 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
Diffstat (limited to 'phpBB/includes/functions.php')
| -rw-r--r-- | phpBB/includes/functions.php | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index d6cd9efd1f..a7adb4d600 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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; } ?>
\ No newline at end of file |
