그누보드5 정식버전
This commit is contained in:
14
plugin/sns/twitter/clearsessions.php
Normal file
14
plugin/sns/twitter/clearsessions.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
include_once("./_common.php");
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Clears PHP sessions and redirects to the connect page.
|
||||
*/
|
||||
|
||||
/* Load and clear sessions */
|
||||
session_start();
|
||||
session_destroy();
|
||||
|
||||
/* Redirect to page with the connect to Twitter option. */
|
||||
header('Location: ./connect.php');
|
||||
Reference in New Issue
Block a user