Advertisement
kazlik

logout

Mar 30th, 2012
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.16 KB | None | 0 0
  1. if(isset($_GET["page"])){
  2.   switch(remove::slash($_GET["page"])){
  3.     case "logout":
  4.       login::out();
  5.       header('Location: ' . path());
  6.     break;  
  7.   }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement