From bb4866bd74ec6b55bf41e75c158d940dced91f2f Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 23 Sep 2006 22:36:09 +0200 Subject: minor bugfix and boring error removal darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz --- inc/init.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inc/init.php') diff --git a/inc/init.php b/inc/init.php index 1b8f99825..d28e179c3 100644 --- a/inc/init.php +++ b/inc/init.php @@ -133,9 +133,9 @@ function init_paths(){ 'lockdir' => 'locks'); foreach($paths as $c => $p){ - if(!$conf[$c]) $conf[$c] = $conf['savedir'].'/'.$p; - $conf[$c] = init_path($conf[$c]); - if(!$conf[$c]) nice_die("The $c does not exist, isn't accessable or writable. + if(empty($conf[$c])) $conf[$c] = $conf['savedir'].'/'.$p; + $conf[$c] = init_path($conf[$c]); + if(empty($conf[$c])) nice_die("The $c does not exist, isn't accessable or writable. You should check your config and permission settings. Or maybe you want to run the installer?"); -- cgit v1.2.3