foo
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 11 Mar 2006 02:03:09 +0000 (02:03 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 11 Mar 2006 02:03:09 +0000 (02:03 +0000)
ikiwiki

diff --git a/ikiwiki b/ikiwiki
index b57611b668c0d939ba4c7d8f64d5d7844677ff77..37000b3bf4f222edd4648c931179f294153b4b39 100755 (executable)
--- 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;
                }