From ed995530aec49ebe44a5ab905475fb22e921ad74 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 20 Mar 2007 20:51:18 +0000 Subject: 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 --- LedgerSMB/Sysconfig.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}; -- cgit v1.2.3