X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fmain.inc;h=ef86d4383903f587fda2eda5ab7e5f6b2eac000c;hb=3613e32ad573d5faccb974a421702bdd87583878;hp=f52d88c6088a5d383ffa926f80dddab4c5d75484;hpb=c70823611ef71079c28542f4810cc50c183a8cd5;p=fa-stable.git diff --git a/includes/main.inc b/includes/main.inc index f52d88c6..ef86d438 100644 --- a/includes/main.inc +++ b/includes/main.inc @@ -15,7 +15,6 @@ include_once($path_to_root . "/includes/errors.inc"); include_once($path_to_root . "/includes/types.inc"); include_once($path_to_root . "/includes/systypes.inc"); include_once($path_to_root . "/includes/references.inc"); -include_once($path_to_root . "/includes/prefs/sysprefs.inc"); include_once($path_to_root . "/includes/db/comments_db.inc"); include_once($path_to_root . "/includes/db/sql_functions.inc"); include_once($path_to_root . "/includes/db/audit_trail_db.inc"); @@ -28,13 +27,15 @@ include_once($path_to_root . "/includes/ui/ui_controls.inc"); function page($title, $no_menu=false, $is_index=false, $onload="", $js="", $script_only=false) { - global $path_to_root; + global $path_to_root, $page_security; + $hide_menu = $no_menu; include($path_to_root . "/includes/page/header.inc"); page_header($title, $no_menu, $is_index, $onload, $js); + check_page_security($page_security); // error_box(); if($script_only) { echo '