forked from extern/egroupware
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 *
|
||||
\**************************************************************************/
|
||||
/* 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");
|
||||
}
|
||||
|
||||
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);
|
||||
|
@ -578,7 +578,7 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user