# This file is an example file for the configuration of LedgerSMB.
# A copy should be in the ledgersmb root directory, or an environment
# variable by the name LSMB_CONFIG_FILE should hold the name
# of an alternative location
#
# e.g.
# LSMB_CONFIG_FILE=/etc/ledgersmb/ledgersmb.conf

[main]

# Set language for login and admin pages
language =

# Set the date format for the admin pages
#  (default: yyyy-mm-dd; unset means detected from the browser)
date_format = yyyy-mm-dd

# Specifies the logging level to be used
# This setting is ignored when the 'log_config' setting is supplied and
# indicates an existing file.
#
# Available values are OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE
log_level = ERROR

# Set the name of the extended logging configuration file
# This file uses the log4j/Log::Log4perl syntax described at
#  https://metacpan.org/pod/Log::Log4perl#Configuration-files
#
# Examples in doc/conf/ledgersmb.log.conf.*
#log_config = ledgersmb.log.conf

# This is the Dojo theme to be used by default -- e.g. when no other theme
# has been selected.
#dojo_theme = claro

# This is a setting to enable stable testing
#suppress_tooltips = yes

[environment]
# If the server can't find applications, append to the path
PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/pgsql/bin

# If on Mac OS X using Fink's Perl libs, append to the path
#PERL5LIB = /sw/lib/perl5

[paths]
# templates base directory
templates  = templates
# images base directory
images  = UI/images

localepath = locale/po

# location where compiled templates are stored
#
# When relative, appended to the directory specified by File::Spec->tmpdir()
#
#templates_cache = lsmb_templates

# directory where workflow files are stored
#
#workflows = workflows

# directory where custom workflow files are stored
#
# custom workflows are used to override behaviour of the default workflows by
# providing actions/conditions/etc by the same name and type or by providing
# workflows of the same type with e.g. additional states and actions.
#
#custom_workflows = custom_workflows

[programs]

[mail]
# This must be set to enable e-mail delivery of backups
# backup_email_from = backups@lsmb_hosting.com

[proxy]
# The list of IP addresses from which to accept reverse proxy requests
# proxy_ip = 127.0.0.1/8 ::1/128

[printers]
# Available printers
#Laser      = lpr -Plaser
#Epson      = lpr -PEpson

[database]

# Sets database connection parameters.  Note that default_db can be left blank
# if you want to force people to enter a company name at login.
port = 5432
default_db = lsmb13
host = localhost
db_namespace = public
# sslmode can be require, allow, prefer, or disable.  Defaults to prefer.
sslmode = prefer
