Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../front
File: config.php
<?php
[0] Fix | Delete
/**********************************************************************
[1] Fix | Delete
Copyright (C) FrontAccounting, LLC.
[2] Fix | Delete
Released under the terms of the GNU General Public License, GPL,
[3] Fix | Delete
as published by the Free Software Foundation, either version 3
[4] Fix | Delete
of the License, or (at your option) any later version.
[5] Fix | Delete
This program is distributed in the hope that it will be useful,
[6] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[7] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[8] Fix | Delete
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
[9] Fix | Delete
***********************************************************************/
[10] Fix | Delete
//--------------------------------------------------
[11] Fix | Delete
[12] Fix | Delete
// User configurable variables
[13] Fix | Delete
//---------------------------------------------------
[14] Fix | Delete
[15] Fix | Delete
/*Show debug messages returned from an error on the page.
[16] Fix | Delete
Debugging info level also determined by settings in PHP.ini
[17] Fix | Delete
if $debug=1 show debugging info, dont show if $debug=0 */
[18] Fix | Delete
[19] Fix | Delete
if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_to_root']))
[20] Fix | Delete
die("Restricted access");
[21] Fix | Delete
[22] Fix | Delete
// Server time zone. Since php 5.3.0 time zone have to be set either here or in server php ini file
[23] Fix | Delete
if (!ini_get('date.timezone'))
[24] Fix | Delete
ini_set('date.timezone', 'Europe/Berlin');
[25] Fix | Delete
[26] Fix | Delete
// Log file for error/warning messages. Should be set to any location
[27] Fix | Delete
// writable by www server. When set to empty string logging is switched off.
[28] Fix | Delete
// Special value 'syslog' can be used for system logger usage (see php manual).
[29] Fix | Delete
//$error_logfile = '';
[30] Fix | Delete
$error_logfile = VARLOG_PATH.'/errors.log';
[31] Fix | Delete
$debug = 1; // show sql on database errors
[32] Fix | Delete
[33] Fix | Delete
$show_sql = 0; // show all sql queries in page footer for debugging purposes
[34] Fix | Delete
$go_debug = 0; // set to 1 for basic debugging, or 2 to see also backtrace after failure.
[35] Fix | Delete
$pdf_debug = 0; // display pdf source instead reports for debugging when $go_debug!=0
[36] Fix | Delete
// set $sql_trail to 1 only if you want to perform bugtracking sql trail
[37] Fix | Delete
// Warning: this produces huge amount of data in sql_trail table.
[38] Fix | Delete
// Don't forget switch the option off and flush the table manually after
[39] Fix | Delete
// trail, or your future backup files are overloaded with unneeded data.
[40] Fix | Delete
//
[41] Fix | Delete
$sql_trail = 0; // save all sql queries in sql_trail
[42] Fix | Delete
$select_trail = 0; // track also SELECT queries
[43] Fix | Delete
[44] Fix | Delete
// Main Title
[45] Fix | Delete
$app_title = "FrontAccounting";
[46] Fix | Delete
[47] Fix | Delete
// Build for development purposes
[48] Fix | Delete
$build_version = date("d.m.Y", filemtime("$path_to_root/CHANGELOG.txt"));
[49] Fix | Delete
[50] Fix | Delete
// Powered by
[51] Fix | Delete
$power_by = "FrontAccounting";
[52] Fix | Delete
$power_url = "http://frontaccounting.com";
[53] Fix | Delete
[54] Fix | Delete
/* No check on edit conflicts. Maybe needed to be set to 1 in certains Windows Servers */
[55] Fix | Delete
$no_check_edit_conflicts = 0;
[56] Fix | Delete
[57] Fix | Delete
/* Use additional icon for supplier/customer edition right of combobox. 1 = use, 0 = do not use */
[58] Fix | Delete
$use_icon_for_editkey = 0;
[59] Fix | Delete
[60] Fix | Delete
/* Creates automatic a default branch with contact. Value 0 do not create auto branch */
[61] Fix | Delete
$auto_create_branch = 1;
[62] Fix | Delete
[63] Fix | Delete
/* use popup windows for views */
[64] Fix | Delete
$use_popup_windows = 1;
[65] Fix | Delete
[66] Fix | Delete
/* use Audit Trails in GL */
[67] Fix | Delete
/* This variable is deprecated. Setting this to 1, will stamp the user name in the memo fields in GL */
[68] Fix | Delete
/* This has been superseded with built in Audit Trail */
[69] Fix | Delete
$use_audit_trail = 0;
[70] Fix | Delete
[71] Fix | Delete
/* use old style convert (income and expense in BS, PL) */
[72] Fix | Delete
$use_oldstyle_convert = 0;
[73] Fix | Delete
[74] Fix | Delete
/* show users online discretely in the footer */
[75] Fix | Delete
$show_users_online = 0;
[76] Fix | Delete
[77] Fix | Delete
// Wiki context help configuration
[78] Fix | Delete
// If your help wiki use translated page titles uncomment next line
[79] Fix | Delete
// $old_style_help = 1; // this setting is depreciated and subject to removal in next FA versions
[80] Fix | Delete
$old_style_help = 0;
[81] Fix | Delete
// locally installed wiki module
[82] Fix | Delete
// $help_base_url = $path_to_root.'/modules/wiki/index.php?n='._('Help').'.';
[83] Fix | Delete
// context help feed from frontaccounting.com
[84] Fix | Delete
$help_base_url = 'http://frontaccounting.com/fawiki/index.php?n=Help.';
[85] Fix | Delete
// set to null if not used:
[86] Fix | Delete
// $help_base_url = null;
[87] Fix | Delete
[88] Fix | Delete
/* per user data/cache directory */
[89] Fix | Delete
$comp_path = $path_to_root.'/company';
[90] Fix | Delete
[91] Fix | Delete
/* Date systems. 0 = traditional, 1 = Jalali used by Iran, Afghanistan and some other Central Asian nations,
[92] Fix | Delete
2 = Islamic used by other arabic nations. 3 = traditional, but where non-workday is Friday and start of week is Saturday */
[93] Fix | Delete
$date_system = 0;
[94] Fix | Delete
[95] Fix | Delete
/* allow reopening closed transactions */
[96] Fix | Delete
$allow_gl_reopen = 0;
[97] Fix | Delete
[98] Fix | Delete
$dateformats = array("MMDDYYYY", "DDMMYYYY", "YYYYMMDD","MmmDDYYYY", "DDMmmYYYY", "YYYYMmmDD");
[99] Fix | Delete
$dateseps = array("/", ".", "-", " ");
[100] Fix | Delete
$thoseps = array(",", ".", " ");
[101] Fix | Delete
$decseps = array(".", ",");
[102] Fix | Delete
[103] Fix | Delete
/* default dateformats and dateseps indexes used before user login */
[104] Fix | Delete
$dflt_date_fmt = 0;
[105] Fix | Delete
$dflt_date_sep = 0;
[106] Fix | Delete
[107] Fix | Delete
/* default PDF pagesize taken from /reporting/includes/tcpdf.php */
[108] Fix | Delete
$pagesizes = array("Letter", "A4");
[109] Fix | Delete
[110] Fix | Delete
/* Accounts Payable */
[111] Fix | Delete
/* System check to see if quantity charged on purchase invoices exceeds the quantity received.
[112] Fix | Delete
If this parameter is checked the proportion by which the purchase invoice is an overcharge
[113] Fix | Delete
referred to before reporting an error */
[114] Fix | Delete
[115] Fix | Delete
$check_qty_charged_vs_del_qty = true;
[116] Fix | Delete
[117] Fix | Delete
/* System check to see if price charged on purchase invoices exceeds the purchase order price.
[118] Fix | Delete
If this parameter is checked the proportion by which the purchase invoice is an overcharge
[119] Fix | Delete
referred to before reporting an error */
[120] Fix | Delete
[121] Fix | Delete
$check_price_charged_vs_order_price = true;
[122] Fix | Delete
[123] Fix | Delete
$config_allocation_settled_allowance = 0.005;
[124] Fix | Delete
[125] Fix | Delete
/* Show average costed values instead of fixed standard cost in report, Inventory Valuation Report */
[126] Fix | Delete
$use_costed_values = 1;
[127] Fix | Delete
[128] Fix | Delete
/* Show menu category icons in core themes */
[129] Fix | Delete
$show_menu_category_icons = 1;
[130] Fix | Delete
[131] Fix | Delete
// Internal configurable variables
[132] Fix | Delete
//-----------------------------------------------------------------------------------
[133] Fix | Delete
[134] Fix | Delete
/* Whether to display the demo login and password or not */
[135] Fix | Delete
[136] Fix | Delete
$allow_demo_mode = false;
[137] Fix | Delete
[138] Fix | Delete
/* Whether to allow sending new password by e-mail */
[139] Fix | Delete
$allow_password_reset = false;
[140] Fix | Delete
[141] Fix | Delete
/* for uploaded item pictures */
[142] Fix | Delete
$pic_width = 80;
[143] Fix | Delete
$pic_height = 50;
[144] Fix | Delete
$max_image_size = 500;
[145] Fix | Delete
[146] Fix | Delete
/* skin for Business Graphics. 1 = Office, 2 = Matrix, or 3 = Spring.
[147] Fix | Delete
Pallete skin attributes set in reporting/includes/class.graphic.inc */
[148] Fix | Delete
$graph_skin = 1;
[149] Fix | Delete
[150] Fix | Delete
/* UTF-8 font for Business Graphics. Copy it to /reporting/fonts/ folder. */
[151] Fix | Delete
$UTF8_fontfile = isset($_SESSION['language']) && $_SESSION['language']->dir == 'rtl' ? "zarnormal.ttf" : "FreeSans.ttf"; // for Dashboard
[152] Fix | Delete
[153] Fix | Delete
/*
[154] Fix | Delete
Display a dropdown select box for choosing Company to login if false.
[155] Fix | Delete
Show a blank editbox only if true where the Company NickName
[156] Fix | Delete
will have to be manually entered. This is when privacy is needed.
[157] Fix | Delete
*/
[158] Fix | Delete
$text_company_selection = false;
[159] Fix | Delete
[160] Fix | Delete
/* Should FA hide menu items (Applications, Modules, and Actions) from the user if they don't have access to them?
[161] Fix | Delete
0 for no 1 for yes
[162] Fix | Delete
*/
[163] Fix | Delete
[164] Fix | Delete
$hide_inaccessible_menu_items = 0;
[165] Fix | Delete
[166] Fix | Delete
/*
[167] Fix | Delete
Brute force prevention.
[168] Fix | Delete
$login_delay seconds delay is required between login attempts after $login_max_attemps failed logins.
[169] Fix | Delete
Set $login_delay to 0 to disable the feature (not recommended)
[170] Fix | Delete
*/
[171] Fix | Delete
$login_delay = 30;
[172] Fix | Delete
$login_max_attempts = 10;
[173] Fix | Delete
[174] Fix | Delete
/*
[175] Fix | Delete
Choose Exchange Rate Provider
[176] Fix | Delete
Default is ECB for backwards compatibility
[177] Fix | Delete
*/
[178] Fix | Delete
$xr_providers = array("ECB", "EXCHANGE-RATES.ORG", "GOOGLE", "YAHOO", "BLOOMBERG");
[179] Fix | Delete
$dflt_xr_provider = 0;
[180] Fix | Delete
[181] Fix | Delete
/*
[182] Fix | Delete
Set to true when remote service is authoritative source of exchange rates, and can be stored automatically without
[183] Fix | Delete
manual edition. Otherwise exrate is stored on first new currency transaction of the day.
[184] Fix | Delete
*/
[185] Fix | Delete
$xr_provider_authoritative = false;
[186] Fix | Delete
[187] Fix | Delete
/*
[188] Fix | Delete
Optional sorting sales documents lines during edition according to item code
[189] Fix | Delete
*/
[190] Fix | Delete
$sort_sales_items = false;
[191] Fix | Delete
[192] Fix | Delete
/*
[193] Fix | Delete
Trial Balance opening balance presentation option.
[194] Fix | Delete
When set to true past years part of opening balance is cleared.
[195] Fix | Delete
*/
[196] Fix | Delete
$clear_trial_balance_opening = false;
[197] Fix | Delete
[198] Fix | Delete
/*
[199] Fix | Delete
Optional backup path. Use %s in place of company number.
[200] Fix | Delete
If not defined $comp_path/%s/backup/ is used.
[201] Fix | Delete
*/
[202] Fix | Delete
// $backup_path = dirname(__FILE__).'/company/%s/backup/';
[203] Fix | Delete
[204] Fix | Delete
/*
[205] Fix | Delete
Optional popup search enabled if this is true.
[206] Fix | Delete
$max_rows_in_search = 10 is used for maximum rows in search
[207] Fix | Delete
*/
[208] Fix | Delete
$use_popup_search = true;
[209] Fix | Delete
$max_rows_in_search = 10;
[210] Fix | Delete
[211] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function