equal
deleted
inserted
replaced
11 if (!isset($_SESSION['TWITTER_ACCESS_TOKEN']) ) { |
11 if (!isset($_SESSION['TWITTER_ACCESS_TOKEN']) ) { |
12 |
12 |
13 $_SESSION['TWITTER_REDIRECT_URL'] = URL_ROOT . basename(__DIR__) . '/' . basename(__FILE__); |
13 $_SESSION['TWITTER_REDIRECT_URL'] = URL_ROOT . basename(__DIR__) . '/' . basename(__FILE__); |
14 // Permanent redirection |
14 // Permanent redirection |
15 header("HTTP/1.1 301 Moved Permanently"); |
15 header("HTTP/1.1 301 Moved Permanently"); |
16 header("Location: client.php"); |
16 header("Location: client.php?CONNECT=true&rep=".basename(__DIR__)); |
17 exit(); |
17 exit(); |
18 |
18 |
19 } |
19 } |
20 |
20 |
21 ?> |
21 ?> |