use tpl appendPath
This commit is contained in:
parent
26ca1289a5
commit
d65758cc69
1 changed files with 1 additions and 1 deletions
|
@ -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(...),
|
||||
|
|
Loading…
Reference in a new issue