From: joey Date: Sat, 11 Mar 2006 02:03:09 +0000 (+0000) Subject: foo X-Git-Tag: 1.0~539 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f72cbd6afa4d7929a451bf8c848f341410db542d;p=ikiwiki.git foo --- diff --git a/ikiwiki b/ikiwiki index b57611b66..37000b3bf 100755 --- a/ikiwiki +++ b/ikiwiki @@ -610,6 +610,7 @@ sub cgi () { $default_loc="$from/$page"; while (length $from) { push @page_locs, "$from/$page"; + $from=dirname($from); } push @page_locs, $page; }