aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-06-10 15:11:27 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-07-15 22:05:06 +0200
commitda7fc9e5daf6e72f9b86dbc5e002febb202f516e (patch)
treead741d7ad78d93c4a39953e717ab3b01a1896e80 /phpBB/phpbb/db
parentf1df8e2688bb9765833c18d90302a2f918646929 (diff)
downloadforums-da7fc9e5daf6e72f9b86dbc5e002febb202f516e.tar
forums-da7fc9e5daf6e72f9b86dbc5e002febb202f516e.tar.gz
forums-da7fc9e5daf6e72f9b86dbc5e002febb202f516e.tar.bz2
forums-da7fc9e5daf6e72f9b86dbc5e002febb202f516e.tar.xz
forums-da7fc9e5daf6e72f9b86dbc5e002febb202f516e.zip
[ticket/13935] Allow more admin-configurable schemes in post links
PHPBB3-13935
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r--phpBB/phpbb/db/migration/data/v320/allowed_schemes_links.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v320/allowed_schemes_links.php b/phpBB/phpbb/db/migration/data/v320/allowed_schemes_links.php
new file mode 100644
index 0000000000..de127e3745
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v320/allowed_schemes_links.php
@@ -0,0 +1,24 @@
+<?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 allowed_schemes_links extends \phpbb\db\migration\migration
+{
+ public function update_data()
+ {
+ return array(
+ array('config.add', array('allowed_schemes_links', 'http,https,ftp')),
+ );
+ }
+}