From bd65fec782508fd2c0a3e0ddf87c2ccf565a4a22 Mon Sep 17 00:00:00 2001 From: Belle Aerni Date: Thu, 28 Dec 2023 15:46:44 -0800 Subject: [PATCH] Added support for a html_custom folder (#2018) --- src/library/Box/TwigLoader.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/library/Box/TwigLoader.php b/src/library/Box/TwigLoader.php index c2aa979ba..3585a2c6d 100644 --- a/src/library/Box/TwigLoader.php +++ b/src/library/Box/TwigLoader.php @@ -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"];