Merge branch 'master' into 0.7.x
Conflicts: README lib/router.php
This commit is contained in:
commit
c2e6fb668d
@ -160,7 +160,7 @@ function oid_authenticate($openid_url, $returnto, $immediate=false)
|
|||||||
$auth_request->addExtension($sreg_request);
|
$auth_request->addExtension($sreg_request);
|
||||||
}
|
}
|
||||||
|
|
||||||
$trust_root = common_path('');
|
$trust_root = common_root_url(true);
|
||||||
$process_url = common_local_url($returnto);
|
$process_url = common_local_url($returnto);
|
||||||
|
|
||||||
if ($auth_request->shouldSendRedirect()) {
|
if ($auth_request->shouldSendRedirect()) {
|
||||||
|
@ -952,9 +952,9 @@ function common_profile_url($nickname)
|
|||||||
|
|
||||||
// Should make up a reasonable root URL
|
// Should make up a reasonable root URL
|
||||||
|
|
||||||
function common_root_url()
|
function common_root_url($ssl=false)
|
||||||
{
|
{
|
||||||
return common_path('');
|
return common_path('', $ssl);
|
||||||
}
|
}
|
||||||
|
|
||||||
// returns $bytes bytes of random data as a hexadecimal string
|
// returns $bytes bytes of random data as a hexadecimal string
|
||||||
|
Loading…
Reference in New Issue
Block a user