web/clear.php
changeset 99 6cb4d10f0b8b
child 207 621fa6caec0c
equal deleted inserted replaced
97:861cae17abda 99:6cb4d10f0b8b
       
     1 <?php
       
     2 
       
     3 /**
       
     4  * include some common code (like we did in the 90s)
       
     5  * People still do this? ;)
       
     6  */
       
     7 include_once './common.php';
       
     8 
       
     9 /**
       
    10  * Clear the Access Token to force the OAuth protocol to rerun
       
    11  */
       
    12 $_SESSION['TWITTER_ACCESS_TOKEN'] = null;
       
    13 
       
    14 /**
       
    15  * Redirect back to index and the protocol legs should run once again
       
    16  */
       
    17 header('Location: ' . URL_ROOT);