mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 15:17:16 +01:00
[ticket/14636] Inject into set_config methods
PHPBB3-13573 PHPBB3-14636
This commit is contained in:
parent
e4671c1521
commit
cd2649273b
@ -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…
x
Reference in New Issue
Block a user