summaryrefslogtreecommitdiff
path: root/LedgerSMB/Sysconfig.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/Sysconfig.pm')
-rw-r--r--LedgerSMB/Sysconfig.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/LedgerSMB/Sysconfig.pm b/LedgerSMB/Sysconfig.pm
index d16cb60a..2c66a75f 100644
--- a/LedgerSMB/Sysconfig.pm
+++ b/LedgerSMB/Sysconfig.pm
@@ -87,7 +87,8 @@ $localepath = $config{paths}{localepath} if $config{paths}{localepath};
$spool = $config{paths}{spool} if $config{paths}{spool};
$templates = $config{paths}{templates} if $config{paths}{templates};
$tempdir = $config{paths}{tempdir} if $config{paths}{tempdir};
-
+$userspath = ($config{paths}{userspath})
+ ? $config($config{paths}{userspath}) : $tempdir;
$gzip = $config{programs}{gzip} if $config{programs}{gzip};
$sendmail = $config{mail}{sendmail} if $config{mail}{sendmail};