]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/editpage.pm
oops, fix for no_chdir mode
[git.ikiwiki.info.git] / IkiWiki / Plugin / editpage.pm
index dff7771381ddca5d9392d50bae81356c61fd5805..2130a84024b6223cfacc352e2008639b0bf2d5f4 100644 (file)
@@ -221,7 +221,6 @@ sub cgi_editpage ($$) {
                        if (! defined $from || ! length $from ||
                            $from ne $form->field('from') ||
                            file_pruned($from) ||
                        if (! defined $from || ! length $from ||
                            $from ne $form->field('from') ||
                            file_pruned($from) ||
-                           $from=~/^\// || 
                            $absolute ||
                            $form->submitted) {
                                @page_locs=$best_loc=$page;
                            $absolute ||
                            $form->submitted) {
                                @page_locs=$best_loc=$page;