kickGuest

Description

Throws guests out to the login screen when guest access is off.

Syntax

void kickGuest ()


Notes

  • Sets $_SESSION['login_url'] to $_SERVER['REQUEST_URI'] so guests can go back to where they were after logging in
  • Uses the 'kick_guest' sub template found in Login.template.php
Advertisement: