Logo white

Administrator / extrem

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • extrem
  • social
  • logout.php
  • Создал GIT
    42868d70
    andryeyev authored
    2015-11-23 15:44:29 +0200  
    Browse Code »
logout.php 233 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11
<?php

if (array_key_exists("logout", $_GET)) {
    session_start();
    unset($_SESSION['id']);
    unset($_SESSION['username']);
    unset($_SESSION['oauth_provider']);
    session_destroy();
    header("location: home.php");
}
?>