X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/f9c7f7df804b1e362de3e8385f95b82fc1210ad7..d9362f04f15b187354119c4cc835f77103985379:/devedit.pl diff --git a/devedit.pl b/devedit.pl index 54dd3d2..fc49a71 100644 --- a/devedit.pl +++ b/devedit.pl @@ -6,7 +6,7 @@ # Dev-Editor's main program # # Author: Patrick Canterino -# Last modified: 2005-02-14 +# Last modified: 2005-02-19 # use strict; @@ -37,7 +37,7 @@ error_template($config->{'templates'}->{'error'}); # Yes, I'm lazy... # Check if the root directory exists -abort($config->{'errors'}->{'no_root_dir'}) unless(-d $config->{'fileroot'}); +abort($config->{'errors'}->{'no_root_dir'}) unless(-d $config->{'fileroot'} && not -l $config->{'fileroot'}); # Check if we are able to access the root directory