mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 13:00:14 +01:00
trying to sort out app include order
This commit is contained in:
parent
680b766dbb
commit
cf8c6eeb99
@ -425,8 +425,12 @@
|
|||||||
* Load the app include files if the exists *
|
* Load the app include files if the exists *
|
||||||
\**************************************************************************/
|
\**************************************************************************/
|
||||||
/* Then the include file */
|
/* Then the include file */
|
||||||
if ($phpgw_info["flags"]["nonavbar"] && file_exists ($phpgw_info["server"]["app_inc"]."/functions.inc.php")){
|
if (file_exists ($phpgw_info["server"]["app_inc"]."/functions.inc.php")){
|
||||||
include($phpgw_info["server"]["app_inc"]."/functions.inc.php");
|
include($phpgw_info["server"]["app_inc"]."/functions.inc.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! $phpgw_info["flags"]["noappheader"] && file_exists ($phpgw_info["server"]["app_inc"]."/header.inc.php")) {
|
||||||
|
include($phpgw_info["server"]["app_inc"]."/header.inc.php");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
error_reporting(7);
|
error_reporting(7);
|
||||||
|
@ -578,7 +578,7 @@
|
|||||||
include($phpgw_info["server"]["app_inc"]."/functions.inc.php");
|
include($phpgw_info["server"]["app_inc"]."/functions.inc.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_exists ($phpgw_info["server"]["app_inc"]."/header.inc.php")) {
|
if (! $phpgw_info["flags"]["noappnavbar"] && file_exists ($phpgw_info["server"]["app_inc"]."/header.inc.php")) {
|
||||||
include($phpgw_info["server"]["app_inc"]."/header.inc.php");
|
include($phpgw_info["server"]["app_inc"]."/header.inc.php");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user