summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-11 02:03:09 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-11 02:03:09 +0000
commitf72cbd6afa4d7929a451bf8c848f341410db542d (patch)
tree735e307b58eef429a0a31c9bf7b27a98be93dd26 /ikiwiki
parent0c7bcdaa297ef38f7596cc2298a6ed6714b0529a (diff)
foo
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki1
1 files changed, 1 insertions, 0 deletions
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;
}