diff options
Diffstat (limited to 'feed.php')
-rw-r--r-- | feed.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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']; |