web/enmi/clear.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Thu, 20 Jan 2011 19:30:54 +0100
changeset 19 1c2f13fd785c
parent 0 web/clear.php@4eba9c11703f
child 68 ecaf28ffe26e
permissions -rw-r--r--
mv page to enmi

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