X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=index.php;h=aa0e763e3eefa9bdd4ad24a758997c1e8a1715ca;hb=50c10c8d64132ff5c269b23e62693db985dfe3f8;hp=7157542ddac9197ea308449a5d606678271b0ba0;hpb=818719f38b8327cdca616d58b13913dbd174d96a;p=fa-stable.git diff --git a/index.php b/index.php index 7157542d..aa0e763e 100644 --- a/index.php +++ b/index.php @@ -1,25 +1,22 @@ . + See the License here . ***********************************************************************/ $path_to_root="."; - - $page_security = 1; + $page_security = 'SA_OPEN'; ini_set('xdebug.auto_trace',1); - include_once("frontaccounting.php"); include_once("includes/session.inc"); - if (!isset($_SESSION["App"])) - $_SESSION["App"] = new front_accounting(); + $app = &$_SESSION["App"]; if (isset($_GET['application'])) $app->selected_application = $_GET['application']; + $app->display(); - context_reset(); ?> \ No newline at end of file