1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-06 13:16:45 +02:00

feat(views): set default view path - project path

This commit is contained in:
Awilum
2022-06-07 20:52:39 +03:00
parent fb84b5d587
commit c0b998b788
3 changed files with 5 additions and 2 deletions

View File

@@ -373,7 +373,7 @@ if (in_array(registry()->get('flextype.settings.timezone'), DateTimeZone::listId
}
// Set View
View::setDirectory(PATH['project'] . '/' . registry()->get('flextype.settings.view.directory'));
View::setDirectory(PATH['project']);
View::setExtension(registry()->get('flextype.settings.view.extension'));
// Add Plugins Service

View File

@@ -442,7 +442,6 @@ app: true
# View
view:
directory: 'views'
extension: 'php'
# Slugify

View File

@@ -436,6 +436,10 @@ cli: false
# Set to true to enable the Flextype Application
app: true
# View
view:
extension: 'php'
# Slugify
slugify: