diff --git a/src/flextype/flextype.php b/src/flextype/flextype.php index 920d3a66..29df0fc0 100644 --- a/src/flextype/flextype.php +++ b/src/flextype/flextype.php @@ -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 diff --git a/src/flextype/settings.yaml b/src/flextype/settings.yaml index 585bea4f..eb32a308 100644 --- a/src/flextype/settings.yaml +++ b/src/flextype/settings.yaml @@ -442,7 +442,6 @@ app: true # View view: - directory: 'views' extension: 'php' # Slugify diff --git a/tests/fixtures/settings/settings.yaml b/tests/fixtures/settings/settings.yaml index fbbe6693..bda483e9 100644 --- a/tests/fixtures/settings/settings.yaml +++ b/tests/fixtures/settings/settings.yaml @@ -436,6 +436,10 @@ cli: false # Set to true to enable the Flextype Application app: true +# View +view: + extension: 'php' + # Slugify slugify: