X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=index.php;h=aa0e763e3eefa9bdd4ad24a758997c1e8a1715ca;hb=7202616e85a0fb8907ced404e418d8a16a5ed53a;hp=4df1f106702af53341c64ec7d8d42a53595f2820;hpb=a5242af68e65661edb7175412444dce536a7f311;p=fa-stable.git diff --git a/index.php b/index.php index 4df1f106..aa0e763e 100644 --- a/index.php +++ b/index.php @@ -10,16 +10,13 @@ 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