mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
add getUpdateUrlBy...(), add process for return url when package install
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8647 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
29e7c3b35b
commit
7aebc36fb5
12 changed files with 57 additions and 14 deletions
|
|
@ -159,7 +159,15 @@
|
|||
$this->_updateinfo();
|
||||
|
||||
$this->setMessage('success_installed', 'update');
|
||||
$this->setRedirectUrl(preg_replace('/act=[^&]*/', 'act=dispAutoinstallAdminIndex', Context::get('error_return_url')));
|
||||
|
||||
if (Context::get('return_url'))
|
||||
{
|
||||
$this->setRedirectUrl(Context::get('return_url'));
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->setRedirectUrl(preg_replace('/act=[^&]*/', 'act=dispAutoinstallAdminIndex', Context::get('error_return_url')));
|
||||
}
|
||||
}
|
||||
|
||||
function updatePackages(&$xmlDoc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue