mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
[ticket/14492] Do not install extensions in installer if in test env
PHPBB3-14492
This commit is contained in:
parent
c5e0635bc7
commit
430ec6f61d
1 changed files with 5 additions and 0 deletions
|
@ -89,6 +89,11 @@ class install_extensions extends \phpbb\install\task_base
|
|||
*/
|
||||
public function run()
|
||||
{
|
||||
if (defined('PHPBB_ENVIRONMENT') && PHPBB_ENVIRONMENT === 'test')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$this->user->session_begin();
|
||||
$this->user->setup(array('common', 'acp/common', 'cli'));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue