web/enmi/clear.php
author Samuel Huron <samuel.huron@centrepompidou.fr>
Tue, 08 Mar 2011 10:57:18 +0100
changeset 52 d522fd390921
parent 19 1c2f13fd785c
child 68 ecaf28ffe26e
permissions -rw-r--r--
TEST SUR IE 9 ( changer le host de la library tooltip pour optimisation maximum)

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