From a10129e6f42dff696fe77a2ebfecab729a49a741 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sun, 26 Mar 2017 23:40:24 -0700 Subject: [PATCH] [ticket/15154] Load compatibility globals into the CLI installer PHPBB3-15154 --- phpBB/install/phpbbcli.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpBB/install/phpbbcli.php b/phpBB/install/phpbbcli.php index 4b86f64e2a..4fe75bb0e3 100755 --- a/phpBB/install/phpbbcli.php +++ b/phpBB/install/phpbbcli.php @@ -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');