web/clear.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Mon, 13 Dec 2010 19:19:55 +0100
changeset 8 b7f4b0554ef8
parent 0 4eba9c11703f
child 207 621fa6caec0c
permissions -rw-r--r--
Added tag V00.02 for changeset 30253851dc90

<?php

/**
 * include some common code (like we did in the 90s)
 * People still do this? ;)
 */
include_once './common.php';

/**
 * Clear the Access Token to force the OAuth protocol to rerun
 */
$_SESSION['TWITTER_ACCESS_TOKEN'] = null;

/**
 * Redirect back to index and the protocol legs should run once again
 */
header('Location: ' . URL_ROOT . '/index.php');