mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-05 22:54:33 +09:00
Added support for a html_custom folder (#2018)
This commit is contained in:
1 parent
e29bcc022b
commit
bd65fec782
1 file changed
+1
@@ -50,6 +50,7 @@ class Box_TwigLoader extends Twig\Loader\FilesystemLoader
|
||||
$name_split = explode("_", $name);
|
||||
|
||||
$paths = array();
|
||||
$paths[] = $this->options["theme"] . DIRECTORY_SEPARATOR . "html_custom";
|
||||
$paths[] = $this->options["theme"] . DIRECTORY_SEPARATOR . "html";
|
||||
if (isset($name_split[1])) {
|
||||
$paths[] = $this->options["mods"] . DIRECTORY_SEPARATOR . ucfirst($name_split[1]) . DIRECTORY_SEPARATOR . "html_" . $this->options["type"];
|
||||
|
||||
Reference in new issue
Block a user