mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
issue 160, added code to prevent infinite redirect
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9177 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1ca26fd096
commit
117f5d08a7
1 changed files with 8 additions and 2 deletions
|
|
@ -240,9 +240,15 @@
|
|||
{
|
||||
$oController = &getAdminController('autoinstall');
|
||||
$oController->_updateinfo();
|
||||
header('location: ' . getNotEncodedUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminIndex'));
|
||||
return;
|
||||
|
||||
if (!$_SESSION['__XE_EASYINSTALL_REDIRECT__'])
|
||||
{
|
||||
header('location: ' . getNotEncodedUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminIndex'));
|
||||
$_SESSION['__XE_EASYINSTALL_REDIRECT__'] = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
unset($_SESSION['__XE_EASYiNSTALL_REDIRECT__']);
|
||||
|
||||
$page = Context::get('page');
|
||||
if(!$page) $page = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue