mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-25 12:35:55 +02:00
[ticket/14492] Do not install extensions in installer if in test env
PHPBB3-14492
This commit is contained in:
@ -89,6 +89,11 @@ class install_extensions extends \phpbb\install\task_base
|
|||||||
*/
|
*/
|
||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
|
if (defined('PHPBB_ENVIRONMENT') && PHPBB_ENVIRONMENT === 'test')
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$this->user->session_begin();
|
$this->user->session_begin();
|
||||||
$this->user->setup(array('common', 'acp/common', 'cli'));
|
$this->user->setup(array('common', 'acp/common', 'cli'));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user