From e7d4a00bf0badb0ac735efe128bf75af0516e7a3 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 29 Apr 2007 22:58:27 +0000 Subject: fix --- t/linkify.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 't') diff --git a/t/linkify.t b/t/linkify.t index c7bfbcd38..d9c4c0474 100755 --- a/t/linkify.t +++ b/t/linkify.t @@ -5,9 +5,6 @@ use Test::More tests => 16; BEGIN { use_ok("IkiWiki"); } -# currently coded for non usedirs mode (TODO: check both) -$config{usedirs}=0; - sub linkify ($$$$) { my $lpage=shift; my $page=shift; @@ -27,6 +24,8 @@ sub linkify ($$$$) { } %config=IkiWiki::defaultconfig(); $config{cgiurl}="http://somehost/ikiwiki.cgi"; + # currently coded for non usedirs mode (TODO: check both) + $config{usedirs}=0; return IkiWiki::linkify($lpage, $page, $content); } -- cgit v1.2.3