| author | Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com> |
| Mon, 20 Jun 2011 15:40:00 +0200 | |
| changeset 187 | adf7fc44c1cb |
| parent 150 | ffaea21247c4 |
| permissions | -rwxr-xr-x |
|
150
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
1 |
<?php |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
2 |
|
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
3 |
/** |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
4 |
* include some common code (like we did in the 90s) |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
5 |
* People still do this? ;) |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
6 |
*/ |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
7 |
include_once './common.php'; |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
8 |
|
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
9 |
/** |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
10 |
* Clear the Access Token to force the OAuth protocol to rerun |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
11 |
*/ |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
12 |
$_SESSION['TWITTER_ACCESS_TOKEN'] = null; |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
13 |
|
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
14 |
/** |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
15 |
* Redirect back to index and the protocol legs should run once again |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
16 |
*/ |
|
ffaea21247c4
change partner and add CPV
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
17 |
header('Location: ' . URL_ROOT); |