web/enmi/clear.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Tue, 14 Jun 2011 13:55:27 +0200
changeset 173 28dc87c08355
parent 68 ecaf28ffe26e
child 207 621fa6caec0c
permissions -rw-r--r--
Added tag V00.55 for changeset 3cdd575ede90

<?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');