#!C:/Programme/Perl/bin/perl.exe -w
#
-# Dev-Editor 2.2
+# Dev-Editor 2.2a
#
# Dev-Editor's main program
#
use Output;
use Tool;
-$VERSION = '2.2';
+$VERSION = '2.2a';
# Path to configuration file
# Change if necessary!
my $cgi = $data->{'cgi'};
return error($config->{'errors'}->{'no_directory'},upper_path($virtual),{FILE => $virtual}) unless(-d $physical);
- return error($config->{'errors'}->{'dir_no_create'},$virtual,{DIR => $virtual});
+ return error($config->{'errors'}->{'dir_no_create'},$virtual,{DIR => $virtual}) unless(-w $physical);
if(my $uploaded_file = $cgi->param('uploaded_file'))
{