Changeset 27159


Ignore:
Timestamp:
04/05/13 14:35:37 (8 years ago)
Author:
ak19
Message:

Fixing how the collection_directory which gets locked upon a call to lock_collection gets determined. The code was considering only the GS2 case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/cgiactions/baseaction.pm

    r25097 r27159  
    345345    }
    346346
    347     my $gsdlhome = $ENV{'GSDLHOME'};
    348     my $collection_directory = &util::filename_cat($gsdlhome, "collect", $collection);
     347    #my $gsdlhome = $ENV{'GSDLHOME'};
     348    #my $collection_directory = &util::filename_cat($gsdlhome, "collect", $collection);
     349    my $site = $self->{'site'};
     350    my $collection_directory = $gsdl_cgi->get_collection_dir($site, $collection);
    349351    $gsdl_cgi->checked_chdir($collection_directory);
    350352
Note: See TracChangeset for help on using the changeset viewer.