use tpl appendPath

This commit is contained in:
Jean-Christian Denis 2023-11-04 19:02:17 +01:00
parent acb524a48d
commit c534147fd1
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -33,7 +33,7 @@ class Frontend extends Process
return false;
}
App::frontend()->template()->setPath(App::frontend()->template()->getPath(), My::path() . '/default-templates');
App::frontend()->template()->appendPath(My::path() . '/default-templates');
foreach ($targets->dump() as $target) {
if ($target->active() && $target->hasPhpCallback()) {