diff options
| author | Rubén Calvo <rubencm@gmail.com> | 2017-03-30 08:33:04 +0200 |
|---|---|---|
| committer | Rubén Calvo <rubencm@gmail.com> | 2017-03-30 10:04:50 +0200 |
| commit | 32f3ddca7061c7584508dd09e4b1226b8aae1aca (patch) | |
| tree | ea7eda21f8344e080e13e29994bf075018be6ee8 /phpBB/phpbb | |
| parent | 827ded82b8110fd2c587d9d7c84731ee7215b166 (diff) | |
| download | forums-32f3ddca7061c7584508dd09e4b1226b8aae1aca.tar forums-32f3ddca7061c7584508dd09e4b1226b8aae1aca.tar.gz forums-32f3ddca7061c7584508dd09e4b1226b8aae1aca.tar.bz2 forums-32f3ddca7061c7584508dd09e4b1226b8aae1aca.tar.xz forums-32f3ddca7061c7584508dd09e4b1226b8aae1aca.zip | |
[ticket/15150] Add Jabber SSL context configuration options
PHPBB3-15150
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/db/migration/data/v31x/add_jabber_ssl_context_config_options.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v31x/add_jabber_ssl_context_config_options.php b/phpBB/phpbb/db/migration/data/v31x/add_jabber_ssl_context_config_options.php new file mode 100644 index 0000000000..9f416fe069 --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v31x/add_jabber_ssl_context_config_options.php @@ -0,0 +1,32 @@ +<?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\v31x; + +class add_jabber_ssl_context_config_options extends \phpbb\db\migration\migration +{ + static public function depends_on() + { + return array('\phpbb\db\migration\data\v31x\v3110'); + } + + public function update_data() + { + return array( + // See http://php.net/manual/en/context.ssl.php + array('config.add', array('jab_verify_peer', 1)), + array('config.add', array('jab_verify_peer_name', 1)), + array('config.add', array('jab_allow_self_signed', 0)), + ); + } +} |
