1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 16:13:13 +02:00

Allow specifying the webcpanel template directory directly.

There's no need to hardcode a base path here.
This commit is contained in:
Sadie Powell
2024-03-26 12:56:11 +00:00
parent 5a12beff15
commit f8605ec188
3 changed files with 8 additions and 6 deletions
+5 -2
View File
@@ -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";