1
0
forked from HPR/hpr_generator

Configure database connection in config file

Pass the db configuration info to the page templates via the
template constants feature.
This commit is contained in:
2022-06-29 10:42:10 -04:00
parent b33e812c3d
commit 3d0ddbfe24
2 changed files with 15 additions and 3 deletions

View File

@@ -1,3 +1,11 @@
# Configure the Perl DBI driver to allow the templates communicate
# with the database.
# dbi:<driver name [SQLite, CSV, ADO, mSQL, etc.]>:<database name>
[DBI]
driver: dbi:SQLite:hpr.db
user:
password:
# Configure the navigation menu and the content templates for each page
# of the site:
# [page_name]