use tpl appendPath

This commit is contained in:
Jean-Christian Paul Denis 2023-11-04 11:47:16 +01:00
parent 2bbf822463
commit d8dc27223e
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -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