index.php 154 B

123456789101112
  1. <?php
  2. session_start();
  3. if (!empty($_SESSION['look'])) {
  4. unset($_SESSION['look']);
  5. } else {
  6. session_destroy();
  7. }
  8. header("Location: /");
  9. exit;
  10. ?>