1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 04:04:12 +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

@@ -102,7 +102,9 @@ class install_update extends module
unset($dbpasswd);
// We need to fill the config to let internal functions correctly work
$config = new phpbb_config_db($db, new phpbb_cache_driver_null);
$config = new phpbb_config_db($db, new phpbb_cache_driver_null, CONFIG_TABLE);
set_config(null, null, null, $config);
set_config_count(null, null, null, $config);
// Force template recompile
$config['load_tplcompile'] = 1;