aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-01-19 19:08:51 +0000
committerAndreas Fischer <bantu@phpbb.com>2010-01-19 19:08:51 +0000
commit77af6caed7300c7498016b4b3d30d31f2bcca730 (patch)
tree91ea4690c066c72ef8b1304df070db4c264df21a /phpBB/install
parentff0b94f23886ec2ac2c8a68e4aac9d840e6c2c88 (diff)
downloadforums-77af6caed7300c7498016b4b3d30d31f2bcca730.tar
forums-77af6caed7300c7498016b4b3d30d31f2bcca730.tar.gz
forums-77af6caed7300c7498016b4b3d30d31f2bcca730.tar.bz2
forums-77af6caed7300c7498016b4b3d30d31f2bcca730.tar.xz
forums-77af6caed7300c7498016b4b3d30d31f2bcca730.zip
[Feature] Ability to use HTTP authentication in ATOM feeds by passing the GET parameter auth=http
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10430 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/database_update.php1
-rw-r--r--phpBB/install/schemas/schema_data.sql1
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 41fd9a2136..21767c20da 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -1578,6 +1578,7 @@ function change_database_data(&$no_updates, $version)
// ATOM Feeds
set_config('feed_overall', '1');
+ set_config('feed_http_auth', '0');
set_config('feed_limit_post', (string) (isset($config['feed_limit']) ? (int) $config['feed_limit'] : 15));
set_config('feed_limit_topic', (string) (isset($config['feed_overall_topics_limit']) ? (int) $config['feed_overall_topics_limit'] : 10));
set_config('feed_topics_new', (!empty($config['feed_overall_topics']) ? '1' : '0'));
diff --git a/phpBB/install/schemas/schema_data.sql b/phpBB/install/schemas/schema_data.sql
index 2f3b60b7a0..b8455f3347 100644
--- a/phpBB/install/schemas/schema_data.sql
+++ b/phpBB/install/schemas/schema_data.sql
@@ -99,6 +99,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_confirm', '
INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_pm_icons', '1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_post_confirm', '1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('feed_enable', '0');
+INSERT INTO phpbb_config (config_name, config_value) VALUES ('feed_http_auth', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('feed_limit_post', '15');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('feed_limit_topic', '10');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('feed_overall_forums', '0');