web/CPV/clear.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Mon, 20 Jun 2011 17:25:04 +0200
changeset 191 04f757c96514
parent 150 ffaea21247c4
permissions -rwxr-xr-x
Added tag V00.61 for changeset bd7e6d40285f

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