summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorEric Helgeson <erichelgeson@gmail.com>2009-07-22 10:28:17 -0500
committerEric Helgeson <erichelgeson@gmail.com>2009-07-22 10:28:17 -0500
commit829396106495a7b8090c31c383c0119912396cac (patch)
tree409fce658a5704024cb3d64121392485b2033799 /index.php
parentdb19d61e68fcf8398579c2c4968e73db7f7ed93b (diff)
parentabae9379478f2b87915930be81cd7be97f12ed8f (diff)
Merge commit 'origin/0.8.x' into 0.9.x
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 5f9a048f2..69c0bc1b2 100644
--- a/index.php
+++ b/index.php
@@ -165,7 +165,8 @@ function main()
if (!$user && common_config('site', 'private') &&
!in_array($action, array('login', 'openidlogin', 'finishopenidlogin',
- 'recoverpassword', 'api', 'doc', 'register'))) {
+ 'recoverpassword', 'api', 'doc', 'register')) &&
+ !preg_match('/rss$/', $action)) {
common_redirect(common_local_url('login'));
return;
}