diff options
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 6 |
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'); |