X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=frontaccounting.php;h=2e81867be205511bdce83731087987e264260c10;hb=a9d55e1c13cbd6a6305b9322ec8621a06516f9f3;hp=3d3347b1aa4f613065745b45ab6dd78ac8431812;hpb=95fd152649f9383cee8680762daf3430e8250bd6;p=fa-stable.git diff --git a/frontaccounting.php b/frontaccounting.php index 3d3347b1..2e81867b 100644 --- a/frontaccounting.php +++ b/frontaccounting.php @@ -22,7 +22,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ include_once($path_to_root . '/installed_extensions.php'); class front_accounting - { + { var $user; var $settings; var $applications; @@ -34,16 +34,16 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ { } function add_application(&$app) - { - if ($app->enabled) // skip inactive modules - $this->applications[$app->id] = &$app; - } + { + if ($app->enabled) // skip inactive modules + $this->applications[$app->id] = &$app; + } function get_application($id) - { - if (isset($this->applications[$id])) - return $this->applications[$id]; - return null; - } + { + if (isset($this->applications[$id])) + return $this->applications[$id]; + return null; + } function get_selected_application() { if (isset($this->selected_application)) @@ -85,4 +85,4 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ $this->add_application(new setup_app()); } -} + }