use tpl appendPath
This commit is contained in:
parent
acb524a48d
commit
c534147fd1
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class Frontend extends Process
|
||||||
return false;
|
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) {
|
foreach ($targets->dump() as $target) {
|
||||||
if ($target->active() && $target->hasPhpCallback()) {
|
if ($target->active() && $target->hasPhpCallback()) {
|
||||||
|
|
Loading…
Reference in a new issue