web/hanna-arendt/index.php
changeset 842 44b97c5679c0
parent 840 9c645bec23c4
child 854 4c377df66569
equal deleted inserted replaced
841:bf648f325dc4 842:44b97c5679c0
    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 ?>