Advertisement
AshBFunky

Still logged in? Are you admin?

May 25th, 2013
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1. include("../config.php");
  2.     if($_SESSION['loggedin'] != true || !hasPerm($_SESSION['id'], $perms['admin']))
  3.     {
  4.         header("Location: ../index.php");
  5.         exit;
  6.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement