Changeset 13497 for trunk


Ignore:
Timestamp:
2006-12-13T10:02:48+13:00 (17 years ago)
Author:
kjdon
Message:

commented out checking for existence of a directory in new_collection_directory as it throws an error which we don't want

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/cgi-bin/gliserver.pl

    r13462 r13497  
    657657
    658658    # Check that the collection directory doesn't already exist
    659     if (-d $directory) {
    660     $gsdl_cgi->generate_error("Collection directory $directory already exists.");
    661     }
     659    # ZipTools doesn't zip up empty directories, so this causes an error when downloading a new collection as we explicity
     660    # try to create the import directory
     661#    if (-d $directory) {
     662#   $gsdl_cgi->generate_error("Collection directory $directory already exists.");
     663#    }
    662664
    663665    # Make sure the collection isn't locked by someone else
Note: See TracChangeset for help on using the changeset viewer.