PHP Classes

File: logout.php

Recommend this page to a friend!
  Classes of Mohamed Elbahja   PHP oAuth Loginer   logout.php   Download  
File: logout.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP oAuth Loginer
Authenticate users with Facebook, Google, Twitter
Author: By
Last change:
Date: 8 years ago
Size: 370 bytes
 

Contents

Class file image Download
<?php
/**
* @author Mohamed Elbahja <Mohamed@elbahja.me>
* @copyright 2016 Application Layout PHP
* @version 1.0
* @package AppLayout PHP
* @subpackage Social Loginer
* @link http://www.elbahja.me
*/

session_start();
include(
"loginer_config.php");
unset(
$_SESSION['sloginer']);
session_destroy();
header("Location: " . $Config['return_url']);
exit;
?>