X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fmain.inc;h=fcb8b99ac5ac4c7ce4ac4fbb3fe073e64bba5a01;hb=628583995e3be96a346a9c078a41cf5ee0eab238;hp=5d4371ba68d6c0efbfa1e2fdb52e7271db0f84be;hpb=cc2a4b40bcdd75b6eb729ac14dcb810322c65884;p=fa-stable.git diff --git a/includes/main.inc b/includes/main.inc index 5d4371ba..fcb8b99a 100644 --- a/includes/main.inc +++ b/includes/main.inc @@ -11,7 +11,6 @@ ***********************************************************************/ include_once($path_to_root . "/includes/db/connect_db.inc"); -include_once($path_to_root . "/includes/reserved.inc"); include_once($path_to_root . "/includes/errors.inc"); include_once($path_to_root . "/includes/types.inc"); include_once($path_to_root . "/includes/systypes.inc"); @@ -19,23 +18,26 @@ 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"); +//include_once($path_to_root . "/includes/validation.inc"); include_once($path_to_root . "/admin/db/users_db.inc"); include_once($path_to_root . "/includes/ui/ui_view.inc"); include_once($path_to_root . "/includes/ui/ui_controls.inc"); -include_once($path_to_root . "/installed_extensions.php"); 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); - error_box(); + check_page_security($page_security); +// error_box(); if($script_only) { echo '