summaryrefslogtreecommitdiff
path: root/feed.php
diff options
context:
space:
mode:
Diffstat (limited to 'feed.php')
-rw-r--r--feed.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/feed.php b/feed.php
index 96263c5b8..c241a610f 100644
--- a/feed.php
+++ b/feed.php
@@ -13,13 +13,16 @@
require_once(DOKU_INC.'inc/feedcreator.class.php');
require_once(DOKU_INC.'inc/auth.php');
- //set auth header for login
+ //set auth header for login FIXME: is this used anymore???
if($_REQUEST['login'] && !isset($_SERVER['PHP_AUTH_USER'])){
header('WWW-Authenticate: Basic realm="'.$conf['title'].'"');
header('HTTP/1.0 401 Unauthorized');
auth_logoff();
}
+ //close sesseion
+ session_write_close();
+
$num = $_REQUEST['num'];
$type = $_REQUEST['type'];