Skip to main content.
home | support | download

Back to List Archive

Re: swish.cgi quickee

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Wed Apr 23 2003 - 01:05:36 GMT
On 22 Apr 2003, David L Norris wrote:

> On to the question:  swish.cgi is read-only and I'd like to keep it that
> way.  What's an acceptable way to remove, rather than simply change, a
> default option within the config file?  I wanted to get rid of the
> date_ranges feature, for example.  I'm wondering if this is an
> acceptable way to do it.  Here's a subset of my swish.cgi config:
> 
> return {
>         title           => 'Library Search',
>         date_ranges     => '',
>         prepend_path    => '',
> };

Yes, that should work.  Somewhere swish.cgi probably goes if
$config{date_ranges}, so you could do any of these:

   data_ranges => '',
   date_ranges => 0,
   date_ranges => undef,


-- 
Bill Moseley moseley@hank.org
Received on Wed Apr 23 01:06:04 2003