|
|
Systemvariables in config.php
- $error_logfile = dirname(__FILE__).'/tmp/errors.log';
- A warning or error during operation is written to this logfile.
- $debug = 1;
- Don't touch this. This is for special operations.
- $show_sql = 0;
- Setting this variable to 1 will print all the SQL statements on screen. It takes a lot of spaces, so it might be difficult to see the forms.
- $go_debug = 0;
- This shows only user warnings, errors and notices during operation.
- Setting this to 1 shows all kind of warnings, errors and notices.
- $pdf_debug = 0;
- Setting this to 1 shows all internal pdf output codes.
- $sql_trail = 0;
- Set $sql_trail to 1 only if you want to perform bugtracking sql trail
- Warning: this produces huge amount of data in sql_trail table.
- Don't forget switch the option off and flush the table manually after trail, or your future backup files are overloaded with unneeded data.
- $select_trail = 0;
- Setting this to 1 tracks also SELECT queries
- $app_title = "FrontAccounting";
- Main Title of Application
- $version = "2.2.10";
- Application Version (Release)
- $build_version = date("d.m.Y", filemtime("$path_to_root/CHANGELOG.txt"));
- Build for development and support purposes. Don't touch this.
- $power_by = "FrontAccounting";
- Powered by. Don't touch this.
- $power_url = "http://frontaccounting.com";
- Powered by URL. Don't touch this.
- $use_popup_windows = 1;
- Use popup windows for views. This is the most common way to use these views. You see the underlying screen as well.
- $use_date_picker = 1;
- Use date picker for all date fields. This is very handy to pick up dates. If you don't want it, set this value to 0.
- $use_audit_trail = 0;
- This variable is deprecated. Setting this to 1, will stamp the user name in the memo fields in GL
- This has been superseded with built in Audit Trail
- $use_oldstyle_convert = 0;
- Setting this to 1 will use old style amount convert (income and expense in BalanceSheet, Profit/Loss Statement)
- $show_users_online = 0;
- Setting this variable to 1 shows users online discretely in the footer. This might be handy to see how many users are online on the company, before doing critical operations.
- $def_print_destination = 0;
- Setting this variable to 1 sets the default destination in reports to Excel instead of PDF/Printer.
- $help_base_url = null;
- $comp_path = $path_to_root.'/company';
- Per user data/cache directory. Don't touch this.
- $accounts_alpha = 0;
- Allow alpha characters in accounts. 0 = only numeric, 1 = alpha numeric, 2 = uppercase alpha numeric
- $date_system = 0;
- Date systems. 0 = traditional, 1 = Jalali used by Iran, nabour countries, Afghanistan and some other Central Asian nations, 2 = Islamic used by other arabic nations. 3 = traditional, but where non-workday is Friday and start of week is Saturday.
- $loc_notification = 0;
- If this variable is 1 emails stock location if order below reorder-level. Remember to set an email on the Location(s).
- $print_invoice_no = 0;
- Setting this variable to 1 prints our internal numbers on the documents. If this variable is 0 prints our reference numbers on the documents instead. This is very handy if you have a letter/number combination in your references.
- $alternative_tax_include_on_docs = 0;
- Setting this variable to 1 will print sub total before tax and then the traditional values, instead of text line.
- $suppress_tax_rates = 0;
- Setting this variable to 1 will suppress the tax rates. Put tax rates in Tax Type Name instead. Useful for tax on tax.
- $dateformats = array("MMDDYYYY", "DDMMYYYY", "YYYYMMDD");
- Don't touch this. This is our options for date presentation.
- $dateseps = array("/", ".", "-", " ");
- These are the most common date separators. Be careful if you change these. It might give side-effects.
- $thoseps = array(",", ".", " ");
- Don't touch this. These are our options for thousand separators
- $decseps = array(".", ",");
- Don't touch this. These are our options for decimal separators
- $dflt_date_fmt = 0;
- Don't touch this. Defalt dateformat index used before user login
- $dflt_date_sep = 0;
- Don't touch this. Defalt date separator used before user login
- $pagesizes = array("Letter", "A4");
- Default PDF pagesize. If you need more/other, please look inside file tcpdf.php in /reporting/includes folder.
- $check_qty_charged_vs_del_qty = true;
- Accounts Payable. System check to see if quantity charged on purchase invoices exceeds the quantity received. If this parameter is checked the proportion by which the purchase invoice is an overcharge referred to before reporting an error.
- $check_price_charged_vs_order_price = True;
- System check to see if price charged on purchase invoices exceeds the purchase order price. If this parameter is checked the proportion by which the purchase invoice is an overcharge referred to before reporting an error */
- $config_allocation_settled_allowance = 0.005;
- Difference to allow fully allocations.
- $allow_demo_mode = false;
- Setting this to true will pre-print the demouser and password parameters. Only use this is you are planning a demo system.
- $pic_width = 80;
- Uploaded Item Picture width in pixels.
- $pic_height = 50;
- Uploaded Item Picture height in pixels.
- $max_image_size = 500;
- Max size in KB for uploaded Item Picture.
- $graph_skin = 1;
- Skin for Business Graphics, 1, 2 or 3.
- if(isset($_SESSION["wa_current_user"])) {
define("BACKUP_PATH", $comp_path.'/'.user_company()."/backup/"); }
- Internal variable. Don't touch.
- $js_path = $path_to_root.'/js/';
- $js_static = array('JsHttpRequest.js', 'behaviour.js', 'utils.js', 'inserts.js');
- $js_lib = $js_userlib = array();
- Internal JavaScript variables. Don't touch.
|