]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/search.pm
Put in a workaround for #622591, by ensuring Search::Xapian gets loaded before Image...
[git.ikiwiki.info.git] / IkiWiki / Plugin / search.pm
index ab7c0eebb89be17b478a1be29bd31641ee7d0786..8138cd67f86d159c3a611a8e7a6a4a90765c3bbc 100644 (file)
@@ -15,6 +15,8 @@ sub import {
        hook(type => "cgi", id => "search", call => \&cgi);
        hook(type => "disable", id => "search", call => \&disable);
        hook(type => "needsbuild", id => "search", call => \&needsbuild);
+               
+       eval q{ use Search::Xapian }; # load early to work around #622591
 }
 
 sub getsetup () {