]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/search.pm
aggregate: Allow expirecount to work on the first pass. (expireage still needs to...
[git.ikiwiki.info.git] / IkiWiki / Plugin / search.pm
index ff18e1faf4eccd4119dcb1e6a4128c62cec41396..aeef54ab3ecdb3daed8231dfe0ac40d17a431b0c 100644 (file)
@@ -17,9 +17,13 @@ sub import { #{{{
 
 sub getsetup () { #{{{
        return
+               plugin => {
+                       safe => 1,
+                       rebuild => 1,
+               },
                omega_cgi => {
                        type => "string",
-                       default => "/usr/lib/cgi-bin/omega/omega",
+                       example => "/usr/lib/cgi-bin/omega/omega",
                        description => "path to the omega cgi program",
                        safe => 0, # external program
                        rebuild => 0,
@@ -33,7 +37,7 @@ sub checkconfig () { #{{{
                }
        }
        
-       if (! exists $config{omega_cgi}) {
+       if (! defined $config{omega_cgi}) {
                $config{omega_cgi}="/usr/lib/cgi-bin/omega/omega";
        }
 } #}}}