X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/362eeaa190459c405df9a134341fe9923032d16a..89df394a2e5dff7d3690e0d55ea3df9f2d5a2ef2:/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