This is the archived config.php for FA 2.3.x. The config.php for FA v2.4.x is here.

Data not in config.php

System variables in config.php

  1. $error_logfile = dirname(__FILE__).'/tmp/errors.log';
    • A warning or error during operation is written to this logfile.
  2. $debug = 1;
    • Don't touch this. This is for special operations.
  3. $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.
  4. $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.
  5. $pdf_debug = 0;
    • Setting this to 1 shows all internal pdf output codes.
  6. $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 this option off and flush the table manually after trail checking, or your future backup files will get overloaded with this extra needless data.
  7. $select_trail = 0;
    • Setting this to 1 tracks SELECT queries also
  8. $app_title = "FrontAccounting";
    • Main Title of Application
  9. $version = "2.4.1";
    • Application Version (Release) now moved to version.php file
  10. $build_version = date("d.m.Y", filemtime("$path_to_root/CHANGELOG.txt"));
    • Build for development and support purposes. Don't touch this.
  11. $power_by = "FrontAccounting ";
    • Powered by. Don't touch this.
  12. $power_url = "http://frontaccounting.com ";
    • Powered by URL. Don't touch this.
  13. $no_check_edit_conflicts = 0;
    • No check on edit conflicts. May need to be set to 1 in certain Windows Servers.
  14. $no_zero_lines_amount = 1;
    • Do not print zero lines amount of 0.00 in Sales Documents if service item. 1 = do not
  15. $use_icon_for_editkey = 0;
    • Use icon for editkey (=true) right of combobox. 1 = use, 0 = do not use
  16. $auto_create_branch = 1;
    • Creates automatic a default branch with contact. Value 0 do not create auto branch
  17. $save_report_selections = 0;
    • Save Report selections (a value > 0 means days to save. 0 = no save) - See Forum Post
  18. $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.
  19. $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.
  20. $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
  21. $show_voided_gl_trans = 0;
    • Setting this to 1 will show the voided GL Transactions
  22. $use_oldstyle_convert = 0;
    • Setting this to 1 will use old style amount convert (income and expense in BalanceSheet, Profit/Loss Statement)
  23. $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.
  24. $show_po_item_codes = 0;
    • Show item codes on purchase order
  25. $def_print_destination = 0;
    • Setting this variable to 1 sets the default destination in reports to Excel instead of PDF/Printer.
  26. $def_print_orientation = 0;
    • Setting this variable to 1 sets the default orientation in reports to Landscape instead of Portrait.
  27. $old_style_help = 0;
    • If your help wiki uses translated page titles set to 1. It is used only in includes/page/header.inc
    • This setting is depreciated and subject to removal in future FA versions
  28. $help_base_url = null;
  29. $comp_path = $path_to_root.'/company';
    • Per user data/cache directory. Don't touch this.
  30. $accounts_alpha = 0;
    • Allow alpha characters in accounts. 0 = only numeric, 1 = alpha numeric, 2 = uppercase alpha numeric
  31. $date_system = 0;
    • Date systems. 0 = traditional, 1 = Jalali used by Iran and neighbour countries, Afghanistan and some other Central / South East Asian nations, 2 = Islamic used by other arabic nations. 3 = traditional, but where non-workday is Friday and start of week is Saturday.
  32. $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).
  33. $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.
  34. $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.
  35. $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.
  36. $dateformats = array("MMDDYYYY", "DDMMYYYY", "YYYYMMDD","MmmDDYYYY", "DDMmmYYYY", "YYYYMmmDD");
    • Don't touch this. This is our options for date presentation.
  37. $dateseps = array("/", ".", "-", " ");
    • These are the most common date separators. Be careful if you change these. It might give side-effects.
  38. $thoseps = array(",", ".", " ");
    • Don't touch this. These are our options for thousand separators
  39. $decseps = array(".", ",");
    • Don't touch this. These are our options for decimal separators
  40. $dflt_date_fmt = 0;
    • Don't touch this. Defalt dateformat index used before user login
  41. $dflt_date_sep = 0;
    • Don't touch this. Defalt date separator used before user login
  42. $pagesizes = array("Letter", "A4");
    • Default PDF pagesize. If you need more/other, please look inside file tcpdf.php in /reporting/includes folder.
  43. $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 is referred to before reporting an error. This threshold proportion margin is set in SysPrefs table as po_over_receive.
  44. $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. This threshold proportion margin is set in SysPrefs table as po_over_charge.
  45. $config_allocation_settled_allowance = 0.005;
    • Difference to allow fully allocations.
  46. $use_costed_values = 1;
    • Show average costed values instead of fixed standard cost in report, Inventory Valuation Report - See Forum Posts 1 and 2.
  47. $allow_negative_prices = 1;
    • Allow negative prices for dummy/service items. To be moved to GL db settings
  48. $show_menu_category_icons = 0;
    • Show menu category icons in core themes
  49. $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.
  50. $allow_password_reset = false;
    • Whether to allow sending new password by e-mail
  51. $print_item_images_on_quote = 0;
    • Print Item Images on Sales Quotations. Set to 1 if so.
  52. $pic_width = 80;
    • Uploaded Item Picture width in pixels.
  53. $pic_height = 50;
    • Uploaded Item Picture height in pixels.
  54. $max_image_size = 500;
    • Max size in KB for uploaded Item Picture.
  55. $graph_skin = 1;
    • Skin for Business Graphics. 1 = Office, 2 = Matrix, or 3 = Spring. Pallete skin attributes set in reporting/includes/class.graphic.inc
  56. $UTF8_fontfile = "FreeSans.ttf";
    • UTF-8 font for Business Graphics. Copy it to /reporting/fonts/ folder. Get it from the GNU FreeFont Archives.
  57. if(isset($_SESSION["wa_current_user"])) {
    define("BACKUP_PATH", $comp_path.'/'.user_company()."/backup/");
    }
    • Internal variable. Don't touch.
  58. $js_path = $path_to_root.'/js/';
  59. $js_static = array('JsHttpRequest.js', 'behaviour.js', 'utils.js', 'inserts.js');
  60. $js_lib = $js_userlib = array();
    • Internal JavaScript variables. Don't touch.
    • Variables available since v2.3.12 (Backward compatible if absent)
  61. $text_company_selection = false;
    • Privacy Login Mode - display text edit box for Company if true.
  62. $hide_inaccessible_menu_items = 0;
    • Hide if true, else greyed out
  63. $login_delay = 30; // 0 to disable (only for trusted intranet)
  64. $login_max_attempts = 10;
  65. $xr_providers = array("ECB", "YAHOO", "GOOGLE", "BLOOMBERG");
    • Don't touch this. This is our options for Exchange Rate Providers.
  66. $dflt_xr_provider = 0;
    • Default Exchange Rate Provider set to ECB for backwards compatibility.
    • Variables available since FA v2.3.17 (Backward compatible if absent)
  67. $xr_provider_authoritative = false;
    • Set to true when remote service is authoritative source of exchange rates, and can be stored automatically without manual edition. Otherwise exrate is stored on first new currency transaction of the day.
  68. $sort_sales_items = false;
    • Optional sorting sales documents lines during edition according to item code
  69. $clear_trial_balance_opening = false;
    • Trial Balance opening balance presentation option. When set to true, past years part of opening balance is cleared.

Variabili di sistema in config.php

  1. $error_logfile = dirname(__FILE__).'/tmp/errors.log';
    • Un allarme o un errore durante l’attività viene trascritto in questo file di log.
  2. $debug = 1;
    • Da non toccare. Riservata per operazioni speciali.
  3. $show_sql = 0;
    • Impostare questa variabile a 1 per viualizzare a schermo le istruzioni SQL. Occupa molto spazio a schermo, rendendo problematica la visualizzazione delle schermate.
  4. $go_debug = 0;
    • Questa impostazione visualizza solo allarmi, errori e notifiche relativi alle operazioni effettuate dall’utente.
    • Impostare a 1 per visualizzare allarmi, errori e notifiche di ogni genere.
  5. $pdf_debug = 0;
    • Impostare a 1 per visualizzare tutti i codici di output pdf interni.
  6. $sql_trail = 0;
    • Impostare $sql_trail a 1 solo se si vogliono tracciare i bug sql
    • Attenzione: questa modalità creerà quantità enormi di dati nella tabella sql_trail.
    • Dopo i controlli non dimenticare di disattivare questa opzione e di svuotare manualmente la tabella, altrimenti i futuri file di backup saranno sovraccarichi di dati inutili.
  7. $select_trail = 0;
    • Impostare ad 1 per tracciare anche le query di tipo SELECT
  8. $app_title = "My Company Pvt Ltd";
    • Titolo principale dell’applicazione
  9. $version = "2.3.13";
    • Versione dell’applicazione (release): ora spostato nel file version.php.
  10. $build_version = date("d.m.Y", filemtime("$path_to_root/CHANGELOG.txt"));
    • Assolve scopi di sviluppo e supporto. Da non toccare.
  11. $power_by = "FrontAccounting";
    • "Sviluppata da". Da non toccare.
  12. $power_url = "http://frontaccounting.com";
    • URL dello sviluppatore. Da non toccare.
  13. $no_check_edit_conflicts = 0;
    • Nessun controllo dei conflitti di scrittura. Da impostare talvolta a 1 su determinati server Windows.
  14. $no_zero_lines_amount = 1;
    • Nei documenti di vendita non stampa l’importo 0,00 nelle righe a zero per gli articoli di tipo servizio.
  15. $use_icon_for_editkey = 0;
    • Se impostata a 1 si utilizza un'icona per tasti di modifica sulla destra delle combobox.
  16. $auto_create_branch = 1;
    • Creazione automatica di una sede di default assieme al contatto. Se a 0 non la crea.
  17. $save_report_selections = 0;
    • Salvataggio delle selezioni per i report (un valore >0 indica i giorni di conservazione. 0 = nessun salvataggio) – Vedere Post nel Forum
  18. $use_popup_windows = 1;
    • Le viste vengono visualizzate in finestre popup; questo è il loro modo d’uso più comune. Sarà comunque visibile anche la schermata sottostante.
  19. $use_date_picker = 1;
    • Propone un comodo calendario di tipo date picker in tutti i campi data. Se non lo si desidera impostare a 0.
  20. $use_audit_trail = 0;
    • Questa variabile è deprecata. Impostandola a 1, verrà stampato il nome utente nel campo memo in CG
    • E’ superata a far data dalla realizzazione di Audit Trail
  21. $show_voided_gl_trans = 0;
    • Impostandola a 1 verranno mostrate le transazioni CG annullate
  22. $use_oldstyle_convert = 0;
    • Impostandola a 1 verrà utilizzata la conversione importi vecchio stile (entrate e uscite in Bilancio, conti profitti/perdite)
  23. $show_users_online = 0;
    • Impostandola a 1 verranno mostrati nel footer gli utenti online.
    • Utile per controllare quanti utenti siano online prima di effettuare operazioni critiche.
  24. $show_po_item_codes = 0;
    • Visualizza i codici articolo nell’ordine d’acquisto
  25. $def_print_destination = 0;
    • Impostandola a 1 invia di default i report ad Excel invece che a PDF/Printer
  26. $def_print_orientation = 0;
    • Impostata a 1 attiva l’orientamento orizzontale della pagina come default per i report
  27. $old_style_help = 0;
    • Se il wiki di help usa titoli di pagina tradotti impostare a 1. Viene usata solo in includes/page/header.inc
    • Questa impostazione è deprecata e se ne prevede la rimozione nelle versioni future di FA
  28. $help_base_url = null;
    • Impostando $help_base_url = 'http://frontaccounting.com/fawiki/index.php?n=Help.'; sarà usato questo Wiki come vostro help
    • Impostando $help_base_url = $path_to_root.'/modules/wiki/index.php?n='._('Help').'.'; o URL simili, sarà usato il Wiki di Help installato localmente
  29. $comp_path = $path_to_root.'/company';
    • Per la directory user data/cache. Da non toccare.
  30. $accounts_alpha = 0;
    • Consente l’uso di caratteri alfabetici nei codici conto. 0 = solo numerici, 1 = alfanumerici, 2 = alfanumeric maiuscoli
  31. $date_system = 0;
    • Sistema di datazione. 0 = tradizionale, 1 = Jalali in uso in Iran e paesi limitrofi, Afghanistan e alcune nazioni dell’Asia centrale e sudorientale, 2 = Islamico usato dalle altre nazioni arabe. 3 = tradizionale, ma con giorno festivo il venerdì e inizio settimana di sabato.
  32. $loc_notification = 0;
    • Se impostata a 1 invia email ai siti di stoccaggio se gli ordini superano il livello di riordino. Ricordarsi di impostare l’indirizzo email dei siti.
  33. $print_invoice_no = 0;
    • Se impostata a 1 stampa i numeri interni nei documenti, se impostata a 0 ci stampa invece i numeri di riferimento. Utile se ci sono combinazioni numeri/lettere nei vostri riferimenti.
  34. $alternative_tax_include_on_docs = 0;
    • Se impostata a 1 stampa, prima delle tasse, il subtotale e successivamente i valori tradizionali, al posto di una riga di testo.
  35. $suppress_tax_rates = 0;
    • Se impostata a 1 non visualizza le aliquote di tassazione, che in alternativa si possono mettere nel campo Tax Type Name. Utile per tasse applicate a tasse.
  36. $dateformats = array("MMDDYYYY", "DDMMYYYY", "YYYYMMDD","MmmDDYYYY", "DDMmmYYYY", "YYYYMmmDD");
    • Da non toccare. Rappresenta le opzioni disponibili per la visualizzazione delle date.
  37. $dateseps = array("/", ".", "-", " ");
    • Rappresenta i più comuni separatori di data. Attenzione a modificarli, potrebbero esserci effetti collaterali.
  38. $thoseps = array(",", ".", " ");
    • Da non toccare. Rappresenta le opzioni disponibili per i separatori di miglialia
  39. $decseps = array(".", ",");
    • Da non toccare. Rappresenta le opzioni disponibili per i separatori di decimali
  40. $dflt_date_fmt = 0;
    • Da non toccare. Indice dateformat di default utilizzato prima del login utente
  41. $dflt_date_sep = 0;
    • Da non toccare. Separatore di data di default utilizzato prima del login utente
  42. $pagesizes = array("Letter", "A4");
    • Dimensione di pagina PDF di default. Se ne necessitano altre, vedere nel file tcpdf.php nella cartella /reporting/includes.
  43. $check_qty_charged_vs_del_qty = true;
    • Conto c/Acquisti. Il sistema controlla se la quantità riportata nelle fatture d’acquisto è maggiore della quantità ricevuta. Se il parametro è selezionato prima che venga segnalato l’errore viene riportata la proporzione in base alla quale la fattura è considerata eccedente. Questa proporzione limite viene impostata nella tabella SysPrefs al campo po_over_receive.
  44. $check_price_charged_vs_order_price = True;
    • Il sistema controlla se il prezzo addebitata nelle fatture d’acquisto supera il prezzo degli ordini. Se il parametro è selezionato prima che venga segnalato l’errore viene riportata la proporzione in base alla quale la fattura è considerata eccedente. Questa proporzione limite viene impostata nella tabella SysPrefs al campo po_over_charge.
  45. $config_allocation_settled_allowance = 0.005;
    • Differenza ammessa per consentire una completa assegnazione.
  46. $use_costed_values = 0;
    • Mostra nel report Valutazione Giacenze i valori di costo medi invece dei costi fissi standard
  47. $allow_negative_prices = 1;
    • Consente prezzi negativi per articoli fittizi/servizi. Andrà spostato in GL db settings
  48. $show_menu_category_icons = 0;
    • Mostra icone di categorie di menu nei temi di base
  49. $allow_demo_mode = false;
    • Impostata a vero visualizza in anticipo i parametri utente demo e password. Utilizare solo per sistemi dimostrativi.
  50. $allow_password_reset = false;
    • Determina la possibilità di invare una nuova password per e-mail
  51. $print_item_images_on_quote = 0;
    • Se impostata a 1 stampa le Immagini Articolo nei Preventivi.
  52. $pic_width = 80;
    • Larghezza in pixel delle Immagini Articolo caricate.
  53. $pic_height = 50;
    • Altezza in pixel delle Immagini Articolo caricate.
  54. $max_image_size = 500;
    • Dimensine massima in KB Immagini Articolo caricate.
  55. $graph_skin = 1;
    • Skin per Business Graphics. 1 = Office, 2 = Matrix, o 3 = Spring. Gli attributi delle palette delle skin sono impostati in reporting/includes/class.graphic.inc
  56. $UTF8_fontfile = "FreeSans.ttf";
    • Font UTF-8 per Business Graphics. Copiarlo nella cartella /reporting/fonts/. Caricarlo da GNU FreeFont Archives.
  57. if(isset($_SESSION["wa_current_user"])) {
    define("BACKUP_PATH", $comp_path.'/'.user_company()."/backup/");
    }
    • Variabile interna. Da non toccare.
  58. $js_path = $path_to_root.'/js/';
  59. $js_static = array('JsHttpRequest.js', 'behaviour.js', 'utils.js', 'inserts.js');
  60. $js_lib = $js_userlib = array();
    • Variabili interne JavaScript. Da non toccare.
    • Variabili disponibili dalla versione v2.3.12 (compatibili a ritroso se assenti)
  61. $text_company_selection = false;
    • Modalità Privacy Login – Se impostata a 1 mostra l’Azienda in una casella editabile.
  62. $hide_inaccessible_menu_items = 0;
    • Se impostata a vero li nasconde, altrimenti li disabilita
  63. $login_delay = 30; // 0 per disabilitarle (solo entro intranet affidabili)
  64. $login_max_attempts = 10;
  65. $xr_providers = array("ECB", "YAHOO", "GOOGLE", "BLOOMBERG");
    • Da non toccare. Opzione per Exchange Rate Providers.
  66. $dflt_xr_provider = 0;
    • Exchange Rate Provider di default impostato a ECB per compatibilità a ritroso.
    • o Variabile disponibile dalla versione FA v2.3.17 (compatibile a ritroso se assente)
  67. $xr_provider_authoritative = false;
    • Impostare a true quando è un servizio remoto ad essere la fonte autoritativa dei ratei di cambio, che possono essere salvati automaticmente senza intervento manuale. Altrimenti exrate viene conservato nella prima nuova transazione in valuta del giorno.
  68. $sort_sales_items = false;
    • Ordinamento opzionale delle righe dei documenti di vendita in base al codice articolo durante la modifica
  69. $clear_trial_balance_opening = false;
    • Trial Balance all’apertura dell’opzione di presentazione del bilancio. Se impostata a true, la porzione del bilancio di apertura relativa alle annualità precedenti viene cancellata.