trying to sort out app include order

This commit is contained in:
seek3r 2000-12-26 19:20:15 +00:00
parent 680b766dbb
commit cf8c6eeb99
2 changed files with 6 additions and 2 deletions

View File

@ -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);

View File

@ -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");
}
}