summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-26 12:56:11 +0000
committerSadie Powell <sadie@witchery.services>2024-03-26 12:59:03 +0000
commitf8605ec188e81b347d15786a67e6869f75909e48 (patch)
tree9e48870dd1471338bc7d98f80fded94aedd46636 /data
parent5a12beff15ca725ce3cafc0abf1addd98e146d7b (diff)
Allow specifying the webcpanel template directory directly.
There's no need to hardcode a base path here.
Diffstat (limited to 'data')
-rw-r--r--data/modules.example.conf7
1 files changed, 5 insertions, 2 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf
index f1818e0e2..2137f0309 100644
--- a/data/modules.example.conf
+++ b/data/modules.example.conf
@@ -774,8 +774,11 @@ module { name = "sasl" }
/* Web server to use. */
server = "httpd/main";
- /* Template to use. */
- template = "default";
+ /*
+ * The directory containing the webcpanel templates. This is relative to the
+ * data directory.
+ */
+ template_dir = "webcpanel/templates/default";
/* Page title. */
title = "Anope IRC Services";