]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/search.pm
collect a hash of shown fields
[ikiwiki.git] / IkiWiki / Plugin / search.pm
index ff18e1faf4eccd4119dcb1e6a4128c62cec41396..cb12d9500d95a31545426fd3c984e3297286d457 100644 (file)
@@ -19,7 +19,7 @@ sub getsetup () { #{{{
        return
                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 +33,7 @@ sub checkconfig () { #{{{
                }
        }
        
-       if (! exists $config{omega_cgi}) {
+       if (! defined $config{omega_cgi}) {
                $config{omega_cgi}="/usr/lib/cgi-bin/omega/omega";
        }
 } #}}}