summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-20 20:51:18 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-20 20:51:18 +0000
commited995530aec49ebe44a5ab905475fb22e921ad74 (patch)
tree6a41aa4dc84988bab460316ad3c1097f19279554 /LedgerSMB
parentd3f973f83e20ad8c45add2a40ca9f627958bff37 (diff)
Adding provisions for userspath to Sysconfig
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@962 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-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};