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:
@@ -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
|
||||
|
@@ -442,7 +442,6 @@ app: true
|
||||
|
||||
# View
|
||||
view:
|
||||
directory: 'views'
|
||||
extension: 'php'
|
||||
|
||||
# Slugify
|
||||
|
4
tests/fixtures/settings/settings.yaml
vendored
4
tests/fixtures/settings/settings.yaml
vendored
@@ -436,6 +436,10 @@ cli: false
|
||||
# Set to true to enable the Flextype Application
|
||||
app: true
|
||||
|
||||
# View
|
||||
view:
|
||||
extension: 'php'
|
||||
|
||||
# Slugify
|
||||
slugify:
|
||||
|
||||
|
Reference in New Issue
Block a user