Changeset 16427


Ignore:
Timestamp:
2008-07-16T13:27:50+12:00 (13 years ago)
Author:
ak19
Message:

Reinstated the commenting out of a check for pre-existing directory. The lines were commented out in the gliserver.pl for GS2, but not that of GS3 and only cropped up once when running GS3 remote on Windowse so far

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/WEB-INF/cgi/gliserver.pl

    r16415 r16427  
    926926
    927927    # Check that the collection directory doesn't already exist
    928     # ZipTools doesn't zip up empty directories, so this causes an error when downloading a new collection as we explicity
     928    # ZipTools doesn't zip up empty directories, so this causes an error when downloading a new collection as we explicitly
    929929    # try to create the import directory
    930930## log -r13497 for GS2's gliserver.pl, Katherine Don explains:
    931931# "commented out checking for existence of a directory in new_collection_directory
    932932# as it throws an error which we don't want"
    933     if($gsdl_cgi->greenstone_version() != 2 && -d $directory) {
    934     $gsdl_cgi->generate_error("Collection directory $directory already exists.");
    935     }
     933    #if($gsdl_cgi->greenstone_version() != 2 && -d $directory) {
     934    #$gsdl_cgi->generate_error("Collection directory $directory already exists.");
     935    #}
    936936
    937937    # Make sure the collection isn't locked by someone else
Note: See TracChangeset for help on using the changeset viewer.