mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11150] Add ability to manage extensions through composer
PHPBB3-11150
This commit is contained in:
committed by
Tristan Darricau
parent
712626d845
commit
fbb85e2f4f
27
phpBB/phpbb/db/migration/data/v320/extensions_composer.php
Normal file
27
phpBB/phpbb/db/migration/data/v320/extensions_composer.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* This file is part of the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
* For full copyright and license information, please see
|
||||
* the docs/CREDITS.txt file.
|
||||
*
|
||||
*/
|
||||
|
||||
namespace phpbb\db\migration\data\v320;
|
||||
|
||||
class extensions_composer extends \phpbb\db\migration\migration
|
||||
{
|
||||
public function update_data()
|
||||
{
|
||||
return array(
|
||||
array('config.add', array('exts_composer_repositories', serialize([]))),
|
||||
array('config.add', array('exts_composer_packagist', true)),
|
||||
array('config.add', array('exts_composer_json_file', 'composer-ext.json')),
|
||||
array('config.add', array('exts_composer_vendor_dir', 'vendor-ext/')),
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user