template_paths config to allow easier override of web templates

This commit is contained in:
Oliver Gorwits
2017-05-06 17:59:50 +01:00
parent 273b49b9ce
commit 2c41b2925d
6 changed files with 32 additions and 5 deletions

View File

@@ -130,7 +130,18 @@ Value: List. Default: Empty List.
Additional library paths for the application (both web frontend and backend
poller daemons). You can also use a colon-separated list in the
"C<NETDISCO_INC>" environment variable.
"C<NETDISCO_INC>" environment variable which makes code available even earlier
in the app startup sequence.
=head3 C<template_paths>
Value: List. Default: Empty List.
Additional paths for L<Template::Toolkit> templates. Files in these paths will
be loaded before (and hence override) any templates built in to Netdisco.
If you do want to copy and override a built in web template, then create the
directories necessary (such as "ajax" or "sidebar") in this path.
=head3 C<external_databases>