Changeset 63


Ignore:
Timestamp:
12/29/17 11:40:31 (7 years ago)
Author:
Kris Deugau
Message:

/trunk/dnsbl

Refine template-directory-finding a little

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dnsbl/dnsbl.cgi

    r60 r63  
    7373my $page;
    7474my $templatedir = $ENV{SCRIPT_FILENAME};
    75 $templatedir =~ s/dnsbl\.cgi//;
     75$templatedir =~ s/\w+\.cgi//;
    7676$templatedir .= "templates";
    7777$ENV{HTML_TEMPLATE_ROOT} = $templatedir;
Note: See TracChangeset for help on using the changeset viewer.