mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Fixed setup_header() showing up twice
This commit is contained in:
parent
312abeb7b5
commit
8b39fc8ec9
@ -18,7 +18,14 @@
|
||||
$phpgw_info["server"]["api_dir"] = $phpgw_info["server"]["include_root"]."/phpgwapi";
|
||||
|
||||
function setup_header($title = "",$nologoutbutton = False) {
|
||||
global $phpgw_info, $PHP_SELF;
|
||||
global $phpgw_info, $PHP_SELF, $dontshowtheheaderagain;
|
||||
|
||||
// Ok, so it isn't the greatest idea, but it works for now. Setup needs to be rewritten.
|
||||
if ($dontshowtheheaderagain) {
|
||||
return False;
|
||||
}
|
||||
|
||||
$dontshowtheheaderagain = True;
|
||||
?>
|
||||
|
||||
<head>
|
||||
|
Loading…
Reference in New Issue
Block a user