X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fmain.inc;h=5d4371ba68d6c0efbfa1e2fdb52e7271db0f84be;hb=61c780745e4743d3bf4c8ef8d23ad2f34ddc121b;hp=c20ae74909cc3aa04a06627413c0851327e9db04;hpb=d23ee699ca01df5ef6daa78fd3af6605c2ab9852;p=fa-stable.git
diff --git a/includes/main.inc b/includes/main.inc
index c20ae749..5d4371ba 100644
--- a/includes/main.inc
+++ b/includes/main.inc
@@ -28,34 +28,12 @@ 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, $page_security;
+ global $path_to_root;
$hide_menu = $no_menu;
include($path_to_root . "/includes/page/header.inc");
- if (!$_SESSION["wa_current_user"]->check_user_access())
- {
- echo "