greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 16427

Show
Ignore:
Timestamp:
2008-07-16 13:27:50 (1 month 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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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 explicit
     928    # ZipTools doesn't zip up empty directories, so this causes an error when downloading a new collection as we explicitl
    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