diff options
Diffstat (limited to 'inc/init.php')
-rw-r--r-- | inc/init.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 <a href=\"install.php\">run the installer</a>?"); |