diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2010-01-19 19:08:51 +0000 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2010-01-19 19:08:51 +0000 |
| commit | 77af6caed7300c7498016b4b3d30d31f2bcca730 (patch) | |
| tree | 91ea4690c066c72ef8b1304df070db4c264df21a /phpBB/feed.php | |
| parent | ff0b94f23886ec2ac2c8a68e4aac9d840e6c2c88 (diff) | |
| download | forums-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/feed.php')
| -rw-r--r-- | phpBB/feed.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php index a783f83ffd..812b667868 100644 --- a/phpBB/feed.php +++ b/phpBB/feed.php @@ -30,6 +30,15 @@ if (!$config['feed_enable']) // Start session $user->session_begin(); + +if (!empty($config['feed_http_auth']) && request_var('auth', '') == 'http') +{ + phpbb_http_login(array( + 'auth_message' => 'Feed', + 'viewonline' => request_var('viewonline', true), + )); +} + $auth->acl($user->data); $user->setup(); |
