Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
if (arg(0) == 'user' && (strpos($_SERVER['HTTP_REFERER'], 'tgr') || strpos($_SERVER['HTTP_REFERER'], 'thinkgreenrewards'))) {
return true;
} else {
return false;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment