web/clear.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Tue, 28 Jun 2011 12:23:18 +0200
changeset 200 df98bc033a67
parent 99 6cb4d10f0b8b
child 207 621fa6caec0c
permissions -rwxr-xr-x
remove '_gaq.push(['_setDomainName', '.iri.centrepompidou.fr']);' for google analytics

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