diff --git a/src/Frontend.php b/src/Frontend.php index 0ae5853..0b5f3f0 100644 --- a/src/Frontend.php +++ b/src/Frontend.php @@ -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(...),