diff options
Diffstat (limited to 'www/webglimpse/files/patch-ad')
-rw-r--r-- | www/webglimpse/files/patch-ad | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/www/webglimpse/files/patch-ad b/www/webglimpse/files/patch-ad new file mode 100644 index 000000000000..a00e3abb6903 --- /dev/null +++ b/www/webglimpse/files/patch-ad @@ -0,0 +1,21 @@ +--- lib/wgserver.pl.orig Mon Jun 29 20:45:06 1998 ++++ lib/wgserver.pl Mon Nov 2 08:26:21 1998 +@@ -114,6 +114,7 @@ + + $override = 0; + $ServerRoot = ''; ++ $output = ''; + + while (<CONF>) { + # Trim leading white space +@@ -163,8 +164,8 @@ + + close(CONF); + +- ($ServerRoot ne '') && ($ResourceConfig = $ServerRoot.'/'.$ResourceConfig); +- ($ServerRoot ne '') && ($AccessConfig = $ServerRoot.'/'.$AccessConfig); ++ ($ServerRoot ne '') && ($ResourceConfig ne '') && ($ResourceConfig !~ '^/') && ($ResourceConfig = $ServerRoot.'/'.$ResourceConfig); ++ ($ServerRoot ne '') && ($AccessConfig ne '') && ($AccessConfig !~ '^/') && ($AccessConfig = $ServerRoot.'/'.$AccessConfig); + + return $output; + } |