From 89df394a2e5dff7d3690e0d55ea3df9f2d5a2ef2 Mon Sep 17 00:00:00 2001 From: pcanterino <> Date: Sat, 19 Feb 2005 09:42:04 +0000 Subject: [PATCH 1/1] Now, the root directory must not be a symbolic link. Sorry for this, I really would have liked to allow the root directory to be a symbolic link, but if I would allow this, Dev-Editor would not be able to create files in the root directory. I'm looking for an alternative... --- devedit.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1