Central feed location?
-
Hi,
I’m trying to add a layer of security check (session check) around the RSS feeds. I want the feeds to be sent out only if a certain condition evaluates to True. e.g
if( isset($_SESSION[‘site_uid’]) {
/* Behave normally */
} else {
header(‘Location: ‘.$site_login_url);
exit;
}Is there a central location (single file/function) where I can add this? If not, what are the locations at which I should be adding this?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Central feed location?’ is closed to new replies.