From 5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 22 Apr 2007 18:09:03 +0000 Subject: 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 --- phpBB/includes/functions.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'phpBB/includes/functions.php') 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'); -- cgit v1.2.1