This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'curl' . DIRECTORY_SEPARATOR . 'curl.php'; | |
$Curl = new Curl(); | |
// This is called once, after we get a code back | |
if (!empty($_GET['code'])) { | |
// Make sure there wasn't an error authenticating | |
if (!empty($_GET['error'])) { |