web/rsln/clear.php
author Samuel Huron <samuel.huron@centrepompidou.fr>
Fri, 22 Apr 2011 12:31:41 +0200
changeset 119 4c86151704e9
parent 68 ecaf28ffe26e
permissions -rw-r--r--
-TRADUCTION -REOGRANISATION -EMBED -POLEMIC.METADATAPLAYER

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