]> git.p6c8.net - devedit.git/commitdiff
File uploads did not work. Fixed in Dev-Editor 2.2a. version_2_2a
authorpcanterino <>
Mon, 29 Nov 2004 15:32:43 +0000 (15:32 +0000)
committerpcanterino <>
Mon, 29 Nov 2004 15:32:43 +0000 (15:32 +0000)
devedit.pl
modules/Command.pm

index 2bf27bf4dd10a2fe550645d01e8d5d0eaa07ee0e..44ced92e77c7c5f8273afd8712217720d0ef756f 100644 (file)
@@ -1,7 +1,7 @@
 #!C:/Programme/Perl/bin/perl.exe -w
 
 #
-# Dev-Editor 2.2
+# Dev-Editor 2.2a
 #
 # Dev-Editor's main program
 #
@@ -23,7 +23,7 @@ use Command;
 use Output;
 use Tool;
 
-$VERSION = '2.2';
+$VERSION = '2.2a';
 
 # Path to configuration file
 # Change if necessary!
index 1423442a5705ba17894c42ff27b1ff1c395a94f5..da70b349d8e40d7c71b177d4248a3ed173e052c0 100644 (file)
@@ -484,7 +484,7 @@ sub exec_upload($$)
  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'))
  {

patrick-canterino.de