mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
fixed install login error
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9120 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a24f3d90f7
commit
e86a4e2ed2
4 changed files with 8 additions and 7 deletions
|
|
@ -48,10 +48,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
$redirect_url = Context::get('redirect_url');
|
||||
if ($output->toBool () && Context::getRequestMethod () == "POST" && $redirect_url) {
|
||||
header ("location:" . $redirect_url);
|
||||
}
|
||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'mid', Context::get('mid'), 'act', '');
|
||||
$this->setRedirectUrl($returnUrl);
|
||||
return;
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue