]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/search.pm
plugin safe/rebuild controls
[git.ikiwiki.info.git] / IkiWiki / Plugin / search.pm
index c45e59c8e168df673540d2e0177d1513511a3fa8..cb12d9500d95a31545426fd3c984e3297286d457 100644 (file)
@@ -19,6 +19,7 @@ sub getsetup () { #{{{
        return
                omega_cgi => {
                        type => "string",
        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,
                        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";
        }
 } #}}}
                $config{omega_cgi}="/usr/lib/cgi-bin/omega/omega";
        }
 } #}}}