master
joey 2006-03-11 02:16:29 +00:00
parent 7c388ceeb1
commit d7c2176a42
1 changed files with 2 additions and 2 deletions

View File

@ -605,11 +605,11 @@ sub cgi () {
}
else {
my $dir=$from."/";
$dir=~s/[^/]+\/$//;
$dir=~s![^/]+/$!!;
push @page_locs, $dir.$page;
push @page_locs, "$from/$page";
while (length $dir) {
$dir=~s/[^/]+\/$//;
$dir=~s![^/]+/$!!;
push @page_locs, $dir.$page;
}
}