1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +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:
Tristan Darricau
2017-04-18 23:05:52 +02:00

View File

@@ -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');