Rewritten upgrade procedures, added fa_patch class, utf8 collation can be set before...
[fa-stable.git] / config.default.php
index 02075ef5691ffb7f21740036d1e85a9b268e53c1..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 */
@@ -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/';