mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
phpgw_exit() can now call phpgw_footer() before it exits
This commit is contained in:
parent
7aa892762c
commit
c9ca56e4a6
@ -146,10 +146,13 @@
|
||||
|
||||
// This function is used if the developer wants to stop a running app in the middle of execution
|
||||
// We may need to do some clean up before hand
|
||||
function phpgw_exit()
|
||||
function phpgw_exit($call_footer = False)
|
||||
{
|
||||
global $phpgw;
|
||||
|
||||
|
||||
if ($call_footer) {
|
||||
$this->phpgw_footer();
|
||||
}
|
||||
$phpgw->db->disconnect();
|
||||
exit;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user