diff options
author | Sadie Powell <sadie@witchery.services> | 2024-03-26 12:56:11 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-03-26 12:59:03 +0000 |
commit | f8605ec188e81b347d15786a67e6869f75909e48 (patch) | |
tree | 9e48870dd1471338bc7d98f80fded94aedd46636 /data | |
parent | 5a12beff15ca725ce3cafc0abf1addd98e146d7b (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.conf | 7 |
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"; |