From d8dc27223ef97a2793c8d6e6006b224873a7b0d1 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 4 Nov 2023 11:47:16 +0100 Subject: [PATCH] use tpl appendPath --- src/Frontend.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Frontend.php b/src/Frontend.php index d366176..f2e2f1a 100644 --- a/src/Frontend.php +++ b/src/Frontend.php @@ -29,8 +29,7 @@ class Frontend extends Process } // add path to template - App::frontend()->template()->setPath( - App::frontend()->template()->getPath(), + App::frontend()->template()->appendPath( My::path() . DIRECTORY_SEPARATOR . 'default-templates' ); // register template value for file alias