added some debugging stuff

darcs-hash:20080619135944-84dde-948447f0e5e7524c64a5538d145d8c52bf4206a9.gz
This commit is contained in:
Evan Prodromou 2008-06-19 09:59:44 -04:00
parent 3c32396109
commit 53706623b2

View File

@ -96,8 +96,14 @@ function oid_check_immediate($openid_url, $backto=NULL) {
if (!$backto) {
$backto = $_SERVER['PHP_SELF'];
}
common_debug('going back to "' . $backto . '"', __FILE__);
common_ensure_session();
$_SESSION['openid_immediate_backto'] = $backto;
common_debug('passed-in variable is "' . $backto . '"', __FILE__);
common_debug('session variable is "' . $_SESSION['openid_immediate_backto'] . '"', __FILE__);
oid_authenticate($openid_url,
'finishimmediate',
true);