diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-11 02:16:29 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-11 02:16:29 +0000 |
commit | d7c2176a42fe00cdb56f17d29b360e0a61554c3a (patch) | |
tree | 275e12a90468be9909916d8ff2810592e307c47e /ikiwiki | |
parent | 7c388ceeb1233d2dec6c69299fdbf060ba6a0c09 (diff) |
foo
Diffstat (limited to 'ikiwiki')
-rwxr-xr-x | ikiwiki | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -605,11 +605,11 @@ sub cgi () { } else { my $dir=$from."/"; - $dir=~s/[^/]+\/$//; + $dir=~s![^/]+/$!!; push @page_locs, $dir.$page; push @page_locs, "$from/$page"; while (length $dir) { - $dir=~s/[^/]+\/$//; + $dir=~s![^/]+/$!!; push @page_locs, $dir.$page; } } |