equal
deleted
inserted
replaced
238 // function names are IMPORTANT!!! The name pattern is: page_<namespace ID>_<page URLname, without namespace> |
238 // function names are IMPORTANT!!! The name pattern is: page_<namespace ID>_<page URLname, without namespace> |
239 |
239 |
240 function page_Special_RSS() |
240 function page_Special_RSS() |
241 { |
241 { |
242 global $db, $session, $paths, $template, $plugins; // Common objects |
242 global $db, $session, $paths, $template, $plugins; // Common objects |
243 header('Content-type: text/xml; charset=windows-1252'); //application/rss+xml'); |
243 header('Content-type: text/xml; charset=utf-8'); //application/rss+xml'); |
244 global $aggressive_optimize_html; |
244 global $aggressive_optimize_html; |
245 $aggressive_optimize_html = false; |
245 $aggressive_optimize_html = false; |
246 $session->sid_super = false; |
246 $session->sid_super = false; |
247 if ( $session->auth_level > USER_LEVEL_MEMBER ) |
247 if ( $session->auth_level > USER_LEVEL_MEMBER ) |
248 $session->auth_level = USER_LEVEL_MEMBER; |
248 $session->auth_level = USER_LEVEL_MEMBER; |