web/CPV/clear.php
changeset 150 ffaea21247c4
equal deleted inserted replaced
149:556a0f11aa10 150:ffaea21247c4
       
     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);