summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-19 22:57:24 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-19 22:57:24 +0000
commit5604901eac5b26f0417276371efbea06d3613799 (patch)
tree9c6e04280784aca6b3ca6f1e5ad8023ac9be3ccf /ikiwiki
parent2f190b3aeb45c5b22173b0f922b997dff38250aa (diff)
switch default new page location to not be a subpage
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/ikiwiki b/ikiwiki
index 4d022284e..38dae8f24 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -1132,8 +1132,8 @@ sub cgi_editpage ($$) { #{{{
my $dir=$from."/";
$dir=~s![^/]+/$!!;
push @page_locs, $dir.$page;
+ $best_loc=$dir.$page;
push @page_locs, "$from/$page";
- $best_loc="$from/$page";
while (length $dir) {
$dir=~s![^/]+/$!!;
push @page_locs, $dir.$page;