1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Clean shutdown flag now using $GLOBAL

This commit is contained in:
Cameron
2021-01-16 15:42:23 -08:00
parent 25e5978ae8
commit 8db0278a9f
5 changed files with 10 additions and 9 deletions

View File

@@ -446,6 +446,7 @@ if(!e107::isCli())
e107::getSession()->shutdown(); // moved from the top of footer_default.php to fix https://github.com/e107inc/e107/issues/1446 (session closing before page was complete)
// Shutdown
$e107->destruct();
$e107_Clean_Exit=true; // For registered shutdown function -- let it know all is well!
}
$GLOBALS['E107_CLEAN_EXIT'] = true; // For registered shutdown function -- let it know all is well!