Changeset 758


Ignore:
Timestamp:
06/13/17 15:47:16 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix subtle web-pathing bug that only showed up deploying a demo 1.4 instance
on a web subdirectory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r746 r758  
    19681968# fill in general URL-to-self
    19691969  $page->param(script_self => "$ENV{SCRIPT_NAME}?");
     1970# fill in the generalized path-to-instance
     1971  $page->param(webpath => ($ENV{SCRIPT_NAME} =~ m|(/.+)/[^/]+$|)[0]);
    19701972}
    19711973
Note: See TracChangeset for help on using the changeset viewer.