1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[task/config-class] Always specify the config table to use.

PHPBB3-9988
This commit is contained in:
Nils Adermann
2011-01-11 23:25:51 +01:00
parent 106f6800d4
commit 6b1e343d8d
8 changed files with 28 additions and 34 deletions

View File

@@ -70,7 +70,7 @@ if (isset($_GET['avatar']))
// worst-case default
$browser = (!empty($_SERVER['HTTP_USER_AGENT'])) ? htmlspecialchars((string) $_SERVER['HTTP_USER_AGENT']) : 'msie 6.0';
$config = new phpbb_config_db($db, $cache_factory->get_driver());
$config = new phpbb_config_db($db, $cache_factory->get_driver(), CONFIG_TABLE);
set_config(null, null, null, $config);
set_config_count(null, null, null, $config);