mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-02 15:03:04 +02:00
Merge pull request #4773 from VSEphpbb/ticket/15154
[ticket/15154] Load compatibility globals into the CLI installer * github.com:phpbb/phpbb: [ticket/15154] Load compatibility globals into the CLI installer
This commit is contained in:
commit
5e12ca7929
@ -39,6 +39,9 @@ $input = new ArgvInput();
|
||||
// Enable superglobals for cli support
|
||||
$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 */
|
||||
$phpbb_filesystem = $phpbb_installer_container->get('filesystem');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user