Changeset 23197


Ignore:
Timestamp:
2010-10-21T17:56:47+13:00 (11 years ago)
Author:
ak19
Message:
  1. Dr Bainbridge made the flashing DOS prompts disappear; 2. Minor bug fix: collection_tail_name was not being initialised.
File:
1 edited

Legend:

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

    r22472 r23197  
    77no strict 'subs';
    88no strict 'refs'; # allow filehandles to be variables and viceversa
     9
     10BEGIN {
     11
     12    # Line to stop annoying child DOS CMD windows from appearing
     13    Win32::SetChildShowWindow(0)
     14    if defined &Win32::SetChildShowWindow;
     15
     16}
     17
    918
    1019# Set this to 1 to work around IIS 6 craziness
     
    676685    $gsdl_cgi->generate_error("No collection specified.");
    677686    }
    678     my $collection_tail_name = s/^(.*\|)//;
     687    my $collection_tail_name = $collection;
     688    $collection_tail_name =~ s/^(.*\|)//;
    679689    $collection =~ s/\|/&util::get_dirsep()/eg;  # Convert the '|' characters into whatever is right for this OS
    680690
Note: See TracChangeset for help on using the changeset viewer.