X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=config.default.php;h=57ac00c3f0846652c0cf3a2c89540f7161985cb5;hb=e39803c300ad0071a20d0c1977b5db6d79aa91c4;hp=02075ef5691ffb7f21740036d1e85a9b268e53c1;hpb=bd8f517d30d1edd3261e26e582ddd9e11c555616;p=fa-stable.git diff --git a/config.default.php b/config.default.php index 02075ef5..57ac00c3 100644 --- a/config.default.php +++ b/config.default.php @@ -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 */ @@ -200,3 +200,8 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ */ $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/';