Advertisement
dbcalmada

Untitled

Feb 24th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.14 KB | None | 0 0
  1. <?php
  2. session_start();
  3. include 'config.php';
  4.  
  5. if ($_SESSION['user']['username']) {
  6.     session_destroy();
  7. }
  8. header('Location: ' . SITE_URL);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement