Ignore:
Timestamp:
2010-07-02T12:57:33+12:00 (14 years ago)
Author:
ak19
Message:

Image URLs are adjusted to refer to their location in Fedora.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/g2f-import.pl

    r21687 r22338  
    1515    $ENV{'FEDORA_PROTOCOL'} = "http" if (!defined $ENV{'FEDORA_PROTOCOL'});
    1616    $ENV{'FEDORA_PID_NAMESPACE'} = "greenstone" if (!defined $ENV{'FEDORA_PID_NAMESPACE'});
     17    $ENV{'FEDORA_PREFIX'} = "/fedora" if (!defined $ENV{'FEDORA_PREFIX'});
    1718
    1819    unshift (@INC, "$ENV{'GSDLHOME'}/perllib/");
     
    187188    }
    188189
    189     # if GS3, and if Fedora uses Greenstone's tomcat, then we do not need to write out the file gsdl.xml into Fedora's tomcat
     190    # if GS3, and if Fedora uses Greenstone 3's tomcat, then we do not need to write out the file gsdl.xml into Fedora's tomcat
    190191    my $localfedora = &util::filename_cat($ENV{'GSDL3SRCHOME'}, "packages", "tomcat", "conf", "Catalina", "localhost", "fedora.xml");
    191192    unless($ENV{'GSDL3SRCHOME'} && -e $localfedora) {
Note: See TracChangeset for help on using the changeset viewer.