mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 04:38:27 +01:00
This is the same bugfix as the one for #1446. It needs to be duplicated for the admin area. See stack trace analysis of the bug here: https://github.com/e107inc/e107/issues/1836#issuecomment-633858469
This commit is contained in:
parent
6daabd3fa5
commit
c901832c6e
@ -33,9 +33,6 @@ if(!deftrue('e_ADMIN_UI') && !deftrue('ADMIN_AREA'))
|
|||||||
echo $content;
|
echo $content;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clean session shutdown
|
|
||||||
e107::getSession()->shutdown();
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// SHUTDOWN SEQUENCE
|
// SHUTDOWN SEQUENCE
|
||||||
//
|
//
|
||||||
@ -395,10 +392,6 @@ if($tmp1)
|
|||||||
$tmp['replace'][] = $tmp1;
|
$tmp['replace'][] = $tmp1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Shutdown
|
|
||||||
$e107->destruct();
|
|
||||||
|
|
||||||
// New - see class2.php
|
// New - see class2.php
|
||||||
$ehd = new e_http_header;
|
$ehd = new e_http_header;
|
||||||
if($tmp)
|
if($tmp)
|
||||||
@ -417,8 +410,11 @@ $page = $ehd->getOutput();
|
|||||||
// real output
|
// real output
|
||||||
echo $page;
|
echo $page;
|
||||||
|
|
||||||
|
|
||||||
unset($In_e107_Footer);
|
unset($In_e107_Footer);
|
||||||
$e107_Clean_Exit = TRUE; // For registered shutdown function -- let it know all is well!
|
|
||||||
|
|
||||||
|
|
||||||
|
// Clean session shutdown
|
||||||
|
e107::getSession()->shutdown();
|
||||||
|
// Shutdown
|
||||||
|
$e107->destruct();
|
||||||
|
$e107_Clean_Exit = TRUE; // For registered shutdown function -- let it know all is well!
|
Loading…
x
Reference in New Issue
Block a user