onlyloggedin.php 140 B

123456789
  1. <?php
  2. /**
  3. * Require/include this to make login required.
  4. */
  5. if ($_SESSION['loggedin'] != true) {
  6. sendError(SESSION_EXPIRED, true);
  7. }