# application settings
# config files are reparsed automatically
# but substantial changes like database name or template root will
# normally require an apache restart to avoid strangeness: CDF can't
# yet tell the difference between a fundamental change and a minor one.
# 1. database configuration
# if using SQLite, db_name must contain path to data file
# if using mysql, db_name must contain database name
# if using postgres, please supply patches when it works :)
db_type = 'SQLite'
db_name = '[% demo_root %]/data/cdfdemo.sdb'
-db_username
-db_password
-db_port
-db_host
# 2. handler configuration
url = /browse
site_url = [% demo_url %]
site_title = cdfdemo
# 3. template configuration
# a single template_dir value is sufficient for most simple applications
# only package-based apps tend to use the template_root and template_subdir approach.
# see the configuration docs in Delivery for an example.
template_dir = [% demo_root %]/templates
template_suffix = html
-template_root
-template_subdir
-allow_template_recursion
# 4. data classes
# each factory-managed data class must be mentioned here in the form class = Full::Class::Name
# in more complex applications this is more likely to be hidden away in package.info files.
class = My::Album
class = My::Artist
class = My::Track
class = My::Genre
# 5. factory configuration
mailer = Sendmail
master_template = _holder.html
default_view = front
template_suffix = html
error_page = _error.html
# 6. debugging
debug_level = 3
dbi_trace = 0
-dbi_trace_file