aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-04-22 18:09:03 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-04-22 18:09:03 +0000
commit5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81 (patch)
tree2f4f211b7d2e9b1ed22ea0b7927ce1481e1e8182 /phpBB/includes/functions.php
parent5742dcd68a674b31b91fc39978aeaf6d74c48ceb (diff)
downloadforums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar
forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar.gz
forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar.bz2
forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar.xz
forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.zip
changed the cache files to save some memory (all global ones are hold in memory, doubling it).
git-svn-id: file:///svn/phpbb/trunk@7386 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index a0f10dd09b..dc10fec018 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -3968,6 +3968,12 @@ function page_header($page_title = '', $display_online_list = true)
'SITE_LOGO_IMG' => $user->img('site_logo'))
);
+ // Once used, we do not want to have the whole theme data twice in memory...
+ if ($user->theme['theme_storedb'])
+ {
+ $user->theme['theme_data'] = '';
+ }
+
// application/xhtml+xml not used because of IE
header('Content-type: text/html; charset=UTF-8');