check for bogus *.TXT databases (with zero length or 0 records) and
[webpac] / global.conf
index 2840037..cd7f4fa 100644 (file)
@@ -1,9 +1,26 @@
-# global configuration file (used by isis2xml.pl and webpac.cgi)
+# global configuration file (used by all2xml.pl and webpac.cgi)
 
 [global]
        # define database to use for indexes
        dbi_dbd=Pg
-       dbi_dsn=dbname=webpac
+       dbi_dsn=dbname=webpac-dev
        dbi_user=dpavlin
        dbi_passwd=xx
 
+       # display progress bar indicator (default is no)
+       #show_progress=1
+
+[webpac]
+       # path to template html files
+       template_html = /data/webpac/template_html
+       # charset encoding for template file *and* users (default iso-8859-1)
+       charset = ISO-8859-2
+       # path to swish binary (default /usr/bin/swish-e)
+       swish = /usr/bin/swish-e
+       # path to index file
+       index = /data/webpac/index/webpac.index
+       # this is hard-coded maximum hits for ALL user. (default 0=disable)
+       max_hits = 0
+       # number of results on each pager page (default 10)
+       on_page = 30
+