diff options
author | chris <chris@jalakai.co.uk> | 2006-09-23 22:36:09 +0200 |
---|---|---|
committer | chris <chris@jalakai.co.uk> | 2006-09-23 22:36:09 +0200 |
commit | bb4866bd74ec6b55bf41e75c158d940dced91f2f (patch) | |
tree | fd3bf3458189d8ef7d5854720af2f825fd874d28 /inc/init.php | |
parent | a424cd8e52ec6e1e860e19467c8cea23871f611f (diff) | |
download | rpg-bb4866bd74ec6b55bf41e75c158d940dced91f2f.tar.gz rpg-bb4866bd74ec6b55bf41e75c158d940dced91f2f.tar.bz2 |
minor bugfix and boring error removal
darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
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>?"); |