use tpl appendPath

This commit is contained in:
Jean-Christian Denis 2023-11-04 21:28:34 +01:00
parent 26ca1289a5
commit d65758cc69
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -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(...),