]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/search.pm
collect a hash of shown fields
[ikiwiki.git] / IkiWiki / Plugin / search.pm
index c45e59c8e168df673540d2e0177d1513511a3fa8..cb12d9500d95a31545426fd3c984e3297286d457 100644 (file)
@@ -19,6 +19,7 @@ sub getsetup () { #{{{
        return
                omega_cgi => {
                        type => "string",
+                       example => "/usr/lib/cgi-bin/omega/omega",
                        description => "path to the omega cgi program",
                        safe => 0, # external program
                        rebuild => 0,
@@ -32,7 +33,7 @@ sub checkconfig () { #{{{
                }
        }
        
-       if (! exists $config{omega_cgi}) {
+       if (! defined $config{omega_cgi}) {
                $config{omega_cgi}="/usr/lib/cgi-bin/omega/omega";
        }
 } #}}}