X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=blobdiff_plain;f=config.default.php;h=a1089866fefb298ba30f01d9b1a6b1e7ad811e4d;hp=386759e14431a8d7b2a8402d29568c24bef1d4a8;hb=a31195793c023906ab5da62f06ab84aefed445c3;hpb=8ffddf50ffbe93672c769e2cf0501d0f9125e2a0 diff --git a/config.default.php b/config.default.php index 386759e1..a1089866 100644 --- a/config.default.php +++ b/config.default.php @@ -21,15 +21,15 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_to_root'])) die("Restricted access"); - // Server time zone. If leaved empty the time zone set in php init file will be used. - // If timezone is not set in this file nor in php.ini, Europe/Berlin' is used as defualt. - $server_time_zone = ''; + // Server time zone. Since php 5.3.0 time zone have to be set either here or in server php ini file + if (!ini_get('date.timezone')) + ini_set('date.timezone', 'Europe/Berlin'); // Log file for error/warning messages. Should be set to any location // writable by www server. When set to empty string logging is switched off. // Special value 'syslog' can be used for system logger usage (see php manual). //$error_logfile = ''; - $error_logfile = $path_to_root.'/tmp/errors.log'; + $error_logfile = VARLOG_PATH.'/errors.log'; $debug = 1; // show sql on database errors $show_sql = 0; // show all sql queries in page footer for debugging purposes @@ -70,9 +70,6 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ /* This has been superseded with built in Audit Trail */ $use_audit_trail = 0; - /* $show_voiced_gl_trans = 0, setting this to 1 will show the voided gl trans */ - $show_voided_gl_trans = 0; - /* use old style convert (income and expense in BS, PL) */ $use_oldstyle_convert = 0; @@ -128,7 +125,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ $config_allocation_settled_allowance = 0.005; /* Show average costed values instead of fixed standard cost in report, Inventory Valuation Report */ - $use_costed_values = 0; + $use_costed_values = 1; /* Show menu category icons in core themes */ $show_menu_category_icons = 1; @@ -154,6 +151,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ /* UTF-8 font for Business Graphics. Copy it to /reporting/fonts/ folder. */ $UTF8_fontfile = "FreeSans.ttf"; + //$UTF8_fontfile = "zarnormal.ttf"; // for Arabic Dashboard /* Display a dropdown select box for choosing Company to login if false. @@ -180,7 +178,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ Choose Exchange Rate Provider Default is ECB for backwards compatibility */ - $xr_providers = array("ECB", "YAHOO", "GOOGLE", "BLOOMBERG"); + $xr_providers = array("ECB", "EXCHANGE-RATES.ORG", "CCA", "YAHOO", "GOOGLE", "BLOOMBERG"); $dflt_xr_provider = 0; /* @@ -205,3 +203,10 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ If not defined $comp_path/%s/backup/ is used. */ // $backup_path = dirname(__FILE__).'/company/%s/backup/'; + +/* + Optional popup search enabled if this is true. + $max_rows_in_search = 10 is used for maximum rows in search +*/ + $use_popup_search = true; + $max_rows_in_search = 10;