Fixed wrong company path in config.default.php
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 27 Apr 2015 08:02:58 +0000 (10:02 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 27 Apr 2015 08:02:58 +0000 (10:02 +0200)
config.default.php

index 57ac00c3f0846652c0cf3a2c89540f7161985cb5..f73aed23abba194fba390ac2bcbe4e06d8bb2b9c 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 = dirname(__FILE__).'/company';
+       $comp_path = $path_to_root.'/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 */