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:
8
site.cfg
8
site.cfg
@@ -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]
|
||||
|
Reference in New Issue
Block a user