web/CPV/clear.php
changeset 248 ffb0a6d08000
parent 247 e6b328970ee8
parent 239 66ac54f9dbf6
child 249 b31aef9365a8
equal deleted inserted replaced
247:e6b328970ee8 248:ffb0a6d08000
     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);