changeTpl($template, NO_SKIN); $uid = Platal::session()->tokenAuth($alias, $hash); if (empty($uid)) { if ($require_uid) { exit; } else { $uid = null; } } if ($template) { $page->assign('rss_hash', $hash); header('Content-Type: application/rss+xml; charset=utf8'); } return $uid; } // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>