use tpl appendPath

master
Jean-Christian Paul Denis 2023-11-04 11:47:16 +01:00
parent 2bbf822463
commit d8dc27223e
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 1 additions and 2 deletions

View File

@ -29,8 +29,7 @@ class Frontend extends Process
} }
// add path to template // add path to template
App::frontend()->template()->setPath( App::frontend()->template()->appendPath(
App::frontend()->template()->getPath(),
My::path() . DIRECTORY_SEPARATOR . 'default-templates' My::path() . DIRECTORY_SEPARATOR . 'default-templates'
); );
// register template value for file alias // register template value for file alias