The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
[global]

# host:
# o Specifies which section to use after the [global] section ends.
# o Values are one of localhost || webhost.
# o Values are case-sensitive.
#
# Warning:
# o This file is processed by Config::Tiny.
# o See App::Office::CMS::Util::Config.
# o So, do not put comments at the ends of lines.
# o 'key=value # A comment' sets key to 'value # A comment' :-(.

host = localhost

[localhost]

# Backup stuff
# ------------
# o Database stuff (below) also refers to database stuff.
# o Session stuff (below) also refers to database stuff.

backup_command = pg_dump -U cms cms
backup_file = /tmp/pg.cms.backup.dat

# CSS stuff
# ---------
# This is a URL.
# My DocumentRoot:    /dev/shm/html.
# hence my disk path: /dev/shm/html/assets/css/app/office/cms.

css_url = /assets/css/app/office/cms

# Database stuff
# --------------
# Note:
# o sqlite_unicode=1 is only for DBD::SQLite.
#   If not using SQLite, you can safely leave that line in here.
# o Backup stuff (above) also refers to database stuff.
# o Session stuff (below) also refers to database stuff.
# o pg_bytea and pg_text are used by Data::Session.

AutoCommit = 1
#dsn = dbi:SQLite:dbname=/tmp/cms.sqlite
#dsn = dbi:mysql:database=cms
dsn = dbi:Pg:dbname=cms
pg_bytea = 0
pg_text = 1
RaiseError = 1
sqlite_unicode = 1
username = cms
password = cms

# Session stuff
# -------------
# o Backup stuff (above) also refers to database stuff.
# o Database stuff (above) also refers to database stuff.

session_driver = driver:Pg;id:MD5;serialize:DataDumper
session_table_name = sessions
session_timeout = 10h

# Identification stuff (for the About tab)
# ----------------------------------------

program_author = Ron Savage
program_faq_url = /assets/templates/app/office/cms/cms.help.html
program_name = App::Office::CMS
program_version = V 0.91

# Javascript stuff
# ----------------
# This is a URL.

yui_url = /assets/js/yui

# Logging stuff
# -------------
# See Log::Handler.

max_log_level = debug
min_log_level = emergency

# Page template stuff
# -------------------
# This is a disk path, as used by Text::Xslate.
# These templates are for HTML pages generated for the user's site.

homepage_name = Home page
homepage_template = home.page.tx
page_template_path = /dev/shm/html/assets/templates/app/office/cms/page.templates

# Template stuff
# --------------
# This is a disk path, as used by Text::Xslate.
# These templates are for pages etc generated for this module.

template_path = /dev/shm/html/assets/templates/app/office/cms

# Content editor stuff
# --------------------

max_content_length = 1000000

# Validator stuff
# ---------------
# This is a URL.

validator_css_url = /assets/css/validator
validator_js_url = /assets/js/validator

[webhost]

# TBA.