mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 20:38:52 +00:00
[ticket/15154] Load compatibility globals into the CLI installer
PHPBB3-15154
This commit is contained in:
parent
835d8f429d
commit
a10129e6f4
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ $input = new ArgvInput();
|
||||||
// Enable superglobals for cli support
|
// Enable superglobals for cli support
|
||||||
$phpbb_installer_container->get('request')->enable_super_globals();
|
$phpbb_installer_container->get('request')->enable_super_globals();
|
||||||
|
|
||||||
|
// Load compatibility globals to access deprecated globals
|
||||||
|
require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx);
|
||||||
|
|
||||||
/** @var \phpbb\filesystem\filesystem $phpbb_filesystem */
|
/** @var \phpbb\filesystem\filesystem $phpbb_filesystem */
|
||||||
$phpbb_filesystem = $phpbb_installer_container->get('filesystem');
|
$phpbb_filesystem = $phpbb_installer_container->get('filesystem');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue