mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/14636] Inject into set_config methods
PHPBB3-13573 PHPBB3-14636
This commit is contained in:
parent
e4671c1521
commit
cd2649273b
1 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,8 @@ function register_compatibility_globals()
|
|||
// Grab global variables, re-cache if necessary
|
||||
/* @var $config phpbb\config\db */
|
||||
$config = $phpbb_container->get('config');
|
||||
set_config('', '', false, $config);
|
||||
set_config_count('', 0, false, $config);
|
||||
|
||||
/* @var $phpbb_log \phpbb\log\log_interface */
|
||||
$phpbb_log = $phpbb_container->get('log');
|
||||
|
|
Loading…
Add table
Reference in a new issue