use tpl appendPath
This commit is contained in:
parent
26ca1289a5
commit
d65758cc69
@ -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 New Issue
Block a user