Changeset 70


Ignore:
Timestamp:
Apr 24, 2003, 7:55:40 PM (19 years ago)
Author:
kake
Message:

Build.PL ensures that script_url ends in '\'

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Build.PL

    r69 r70  
    121121        $val = Module::Build->prompt("\n$qu ", $def);
    122122    }
     123
     124    # Make sure that script_url ends in a /
     125    if ( $var eq "script_url" and $val !~ /\/$/ ) {
     126        $val .= "/";
     127    }
     128
    123129    push @answers, { question => $qu,
    124130                     variable => $var,
  • trunk/wiki.cgi

    r69 r70  
    4040my $default_country = $config->{_}->{default_country};
    4141my $contact_email = $config->{_}->{contact_email};
    42 my $search_url = $config->{_}->{script_url} . "/supersearch.cgi";
     42my $search_url = $config->{_}->{script_url} . "supersearch.cgi";
    4343my $template_path = $config->{_}->{template_path};
    4444
Note: See TracChangeset for help on using the changeset viewer.