From c534147fd135d9470af058eb756cfa496c8edebe Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 4 Nov 2023 19:02:17 +0100 Subject: [PATCH] use tpl appendPath --- src/Frontend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Frontend.php b/src/Frontend.php index eea77f2..9525932 100644 --- a/src/Frontend.php +++ b/src/Frontend.php @@ -33,7 +33,7 @@ class Frontend extends Process return false; } - App::frontend()->template()->setPath(App::frontend()->template()->getPath(), My::path() . '/default-templates'); + App::frontend()->template()->appendPath(My::path() . '/default-templates'); foreach ($targets->dump() as $target) { if ($target->active() && $target->hasPhpCallback()) {