aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/style.php')
-rw-r--r--phpBB/style.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/style.php b/phpBB/style.php
index cff91a2312..09340992c5 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -82,7 +82,10 @@ if ($id)
}
unset($dbpasswd);
- $config = $cache->obtain_config();
+ $config = new phpbb_config_db($db, $cache_factory->get_driver());
+ set_config(null, null, null, $config);
+ set_config_count(null, null, null, $config);
+
$user = false;
// try to get a session ID from REQUEST array