From c1339294a28926ba7593adbd3d48ef9f1bcf6dfa Mon Sep 17 00:00:00 2001 From: pcanterino <> Date: Sun, 13 Feb 2005 15:22:21 +0000 Subject: [PATCH] Aha! --- devedit.pl | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/devedit.pl b/devedit.pl index 2f9c918..237cf34 100644 --- a/devedit.pl +++ b/devedit.pl @@ -69,14 +69,7 @@ if($newfile ne '' && $newfile !~ /^\s+$/) # ... check if the directory exists ... - unless(-d clean_path($config->{'fileroot'}.'/'.$dir)) - { - abort($config->{'errors'}->{'dir_not_exist'},'/'); - } - - # (don't know, why this test has to be done separately) - - if(-l clean_path($config->{'fileroot'}.'/'.$dir)) + unless(-d clean_path($config->{'fileroot'}.'/'.$dir) && not -l clean_path($config->{'fileroot'}.'/'.$dir)) { abort($config->{'errors'}->{'dir_not_exist'},'/'); } -- 2.34.1