From d65758cc69ad5530a020d5db498f4c8b5ff242df Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 4 Nov 2023 21:28:34 +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 0ae5853..0b5f3f0 100644 --- a/src/Frontend.php +++ b/src/Frontend.php @@ -35,7 +35,7 @@ class Frontend extends Process App::url()->registerError(UrlHandler::error(...)); } - App::frontend()->template()->setPath(App::frontend()->template()->getPath(), My::path() . DIRECTORY_SEPARATOR . 'default-templates'); + App::frontend()->template()->appendPath(My::path() . DIRECTORY_SEPARATOR . 'default-templates'); App::behavior()->addBehaviors([ 'templateCustomSortByAlias' => FrontendBehaviors::templateCustomSortByAlias(...),