Incorrect Journal Balance (sales invoice) when many decimals in tax and price.
[fa-stable.git] / config.default.php
index 6602baf486306d64eddbcb93c9c7d4bc620917ed..37fcd7360af39787c1cb7fc50460f7b72780d421 100644 (file)
@@ -29,7 +29,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        // 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;
 
@@ -127,9 +124,6 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
 
        $config_allocation_settled_allowance = 0.005;
 
-       /* Show company logo on reports */
-       $show_company_logo_report = 0;  
-       
        /* Show average costed values instead of fixed standard cost in report, Inventory Valuation Report */
        $use_costed_values = 1; 
        
@@ -156,8 +150,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        $graph_skin     = 1;
 
        /* UTF-8 font for Business Graphics. Copy it to /reporting/fonts/ folder. */
-       $UTF8_fontfile  = "FreeSans.ttf";
-       //$UTF8_fontfile        = "zarnormal.ttf"; // for Arabic Dashboard
+       $UTF8_fontfile  = isset($_SESSION['language']) && $_SESSION['language']->dir == 'rtl' ? "zarnormal.ttf" : "FreeSans.ttf"; // for  Dashboard
 
 /* 
        Display a dropdown select box for choosing Company to login if false.
@@ -184,7 +177,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", "GOOGLE", "YAHOO", "BLOOMBERG");
        $dflt_xr_provider = 0;
 
 /*