Changeset 31517 for main/trunk


Ignore:
Timestamp:
2017-03-14T19:48:14+13:00 (7 years ago)
Author:
ak19
Message:

I think this is a bugfix (copy and paste error), but will need to confirm with Dr Bainbridge. Committing it ahead of function merger with servercontrol::get_library_url equivalent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/util.pm

    r31515 r31517  
    12291229    # if already set on a previous occasion, just return that
    12301230    # (Don't want to keep repeating this: cost of re-opening and scanning files.)
    1231     return $ENV{'GREENSTONE_URL_PREFIX'} if($ENV{'GREENSTONE_URL_PREFIX'});
     1231    return $ENV{'FULL_GREENSTONE_URL_PREFIX'} if($ENV{'FULL_GREENSTONE_URL_PREFIX'});
    12321232
    12331233    my $gs_mode = ($ENV{'GSDL3SRCHOME'}) ? "gs3" : "gs2";
Note: See TracChangeset for help on using the changeset viewer.