-/*
- Before upgrade from pre-2.2 FA you have to move here your customized
- security roles definitions. If you have used standard roles, you
- can simply uncomment following two arrays. After upgrade both arrays need
- to be deleted or commented out. You may wish to change user roles to
- new better defined in Users Setup. Old not used roles can be set inactive
- or deleted.
-*/
-/* Standard FA2.1 Security Group definitions
-
- $security_headings = array(
- _("Inquiries"),
- _("Accountant"),
- _("System Administrator"),
- );
-
- $security_groups = array(
- array(1,2),
- array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,16),
- array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,20),
- );
-*/
-
- //MySQL Backup and Restore Settings
-
-if(isset($_SESSION["wa_current_user"])) {
- define("BACKUP_PATH", $comp_path.'/'.user_company()."/backup/");
-}
- // static js files path
- $js_path = $path_to_root.'/js/';
- // standard external js scripts included in all files
- $js_static = array('JsHttpRequest.js', 'behaviour.js', 'utils.js', 'inserts.js');
- // additional js source included in header
- $js_lib = $js_userlib = array();
-
-if (!defined('ICON_EDIT'))
-{
- define("ICON_EDIT", "edit.gif");
- define("ICON_DELETE", "delete.gif");
- define("ICON_ADD", "ok.gif");
- define("ICON_UPDATE", "ok.gif");
- define("ICON_OK", "ok.gif");
- define("ICON_CANCEL", "cancel.png");
- define("ICON_GL", "gl.png");
- define("ICON_PRINT", "print.png");
- define("ICON_PDF", "pdf.gif");
- define("ICON_DOC", "invoice.gif");
- define("ICON_CREDIT", "credit.gif");
- define("ICON_RECEIVE", "receive.gif");
- define("ICON_DOWN", "download.gif");
- define("ICON_MONEY", "money.png");
- define("ICON_REMOVE", "remove.png");
- define("ICON_REPORT", "report.png");
- define("ICON_VIEW", "view.gif");
- define("ICON_SUBMIT", "ok.gif");
- define("ICON_ESCAPE", "escape.png");
-}