mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/15154] Load compatibility globals into the CLI installer
PHPBB3-15154
This commit is contained in:
@@ -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');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user