Remove MySQL specific code from site generation code
- site-generator is generic, so no changes. - removed mysql information from site.cfg. - Updated template files to call sqlite queries directly. - Renamed the query files - remove sqlite from file names. - Deleted MySQL specific template files.
This commit is contained in:
7
site.cfg
7
site.cfg
@@ -7,13 +7,6 @@
|
||||
# Configuration settings for SQLite
|
||||
database: sqlite
|
||||
driver: dbi:SQLite:hpr.db
|
||||
#user: (not used - leave blank)
|
||||
#password: (not used - leave blank)
|
||||
# Configuration settings for MySQL
|
||||
#database: mysql
|
||||
#driver: dbi:mysql:database=hpr_hpr:hostname=localhost
|
||||
#user: hpr-generator (Suggested user with read-only privileges)
|
||||
#password: ********* (Password for user)
|
||||
|
||||
# Configure the location of the templates and the generated HTML
|
||||
[app_paths]
|
||||
|
Reference in New Issue
Block a user