From f8605ec188e81b347d15786a67e6869f75909e48 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 26 Mar 2024 12:56:11 +0000 Subject: Allow specifying the webcpanel template directory directly. There's no need to hardcode a base path here. --- data/modules.example.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'data') 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"; -- cgit