Item Tax Types: fixed inactive item tax types display switching.
[fa-stable.git] / config.default.php
index 1b319a2b7487961dc46f15017e78e645c9f652ce..57ac00c3f0846652c0cf3a2c89540f7161985cb5 100644 (file)
@@ -91,7 +91,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        $help_base_url = null;
 
        /* per user data/cache directory */
-       $comp_path = $path_to_root.'/company';
+       $comp_path = dirname(__FILE__).'/company';
 
        /* 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 */
@@ -160,7 +160,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        Show a blank editbox only if true where the Company NickName
        will have to be manually entered. This is when privacy is needed.
 */
-$text_company_selection  = false;
+       $text_company_selection  = false;
 
 /*  Should FA hide menu items (Applications, Modules, and Actions) from the user if they don't have access to them? 
     0 for no       1 for yes
@@ -173,30 +173,35 @@ $text_company_selection  = false;
        $login_delay seconds delay is required between login attempts after $login_max_attemps failed logins.
        Set $login_delay to 0 to disable the feature (not recommended)
 */
-$login_delay = 30;
-$login_max_attempts = 10;
+       $login_delay = 30;
+       $login_max_attempts = 10;
 
 /*
        Choose Exchange Rate Provider
        Default is ECB for backwards compatibility
 */
-$xr_providers = array("ECB", "YAHOO", "GOOGLE", "BLOOMBERG");
-$dflt_xr_provider = 0;
+       $xr_providers = array("ECB", "YAHOO", "GOOGLE", "BLOOMBERG");
+       $dflt_xr_provider = 0;
 
 /*
        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.
 */
-$xr_provider_authoritative = false;
+       $xr_provider_authoritative = false;
 
 /*
        Optional sorting sales documents lines during edition according to item code
 */
-$sort_sales_items = false;
+       $sort_sales_items = false;
 
 /*
        Trial Balance opening balance presentation option.
        When set to true past years part of opening balance is cleared.
 */
-$clear_trial_balance_opening = false;
+       $clear_trial_balance_opening = false;
 
+/*
+       Optional backup path. Use %s in place of company number.
+       If not defined $comp_path/%s/backup/ is used.
+*/
+//     $backup_path = dirname(__FILE__).'/company/%s/backup/';