<config> tags (which use values from all2xml.conf) are now properly handled
[webpac] / global.conf
index d965717..48dffe1 100644 (file)
@@ -2,13 +2,20 @@
 
 [global]
        # define database to use for indexes
-       dbi_dbd=Pg
-       dbi_dsn=dbname=webpac-dev
+#      dbi_dbd=Pg
+#      dbi_dsn=dbname=webpac-dev
+
+       dbi_dbd=SQLite
+       dbi_dsn=dbname=/data/webpac/index.sqlite
+
        dbi_user=dpavlin
-       dbi_passwd=xx
+       dbi_passwd=""
 
        # display progress bar indicator (default is no)
-       #show_progress=1
+       show_progress=1
+
+       # optional alternative Text::Unaccent filter
+       unac_filter = /data/webpac/filter/unac_string_croatian.pm
 
 [webpac]
        # path to template html files
@@ -29,4 +36,7 @@
        # like "&" would work. However, larger values also make sense to produce
        # more relevant hits on words like "to", "at" etc.
        min_wildcard = 2
+       # master template which will be used to enable global design changes
+       # (it will replace ##webpac## in this template with output of webpac)
+       template = /data/webpac/public_html/template.html