Add database type constant for use in templates
This is used to select which database specific SQL query to use.
This commit is contained in:
parent
4e8edf2640
commit
cb881558ca
@ -198,6 +198,7 @@ sub get_template_html (\%@) {
|
||||
PRE_CHOMP => 1,
|
||||
POST_CHOMP => 1,
|
||||
CONSTANTS => {
|
||||
database => $_[0]{database},
|
||||
driver => $_[0]{driver},
|
||||
user => $_[0]{user},
|
||||
password => $_[0]{password},
|
||||
|
Loading…
Reference in New Issue
Block a user