From 5604901eac5b26f0417276371efbea06d3613799 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 19 Mar 2006 22:57:24 +0000 Subject: switch default new page location to not be a subpage --- ikiwiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ikiwiki') 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; -- cgit v1.2.3