Skip to content

Commit

Permalink
feat(settings): fix and update default flextype settings #199
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Aug 1, 2021
1 parent 8026a9b commit 91cbeb0
Showing 1 changed file with 31 additions and 16 deletions.
47 changes: 31 additions & 16 deletions src/flextype/settings.yaml
Expand Up @@ -19,7 +19,7 @@ locale: en_US
# Application URL
#
# Define custom application url
url: ''
url: '/flextype'

# Valid date format
#
Expand Down Expand Up @@ -70,7 +70,7 @@ entries:
enabled: true
result: toObject
registry:
path: "/src/flextype/Foundation/Entries/Fields/IdField.php"
path: "/src/flextype/Foundation/Entries/Fields/RegistryField.php"
get:
enabled: true
entries:
Expand All @@ -82,7 +82,7 @@ entries:
path: "/src/flextype/Foundation/Entries/Fields/SlugField.php"
enabled: true
published_at:
path: "/src/flextype/Foundation/Entries/Fields/PublsishedAtField.php"
path: "/src/flextype/Foundation/Entries/Fields/PublishedAtField.php"
enabled: true
published_by:
path: "/src/flextype/Foundation/Entries/Fields/PublishedByField.php"
Expand All @@ -100,7 +100,7 @@ entries:
path: "/src/flextype/Foundation/Entries/Fields/RoutableField.php"
enabled: true
parsers:
path: "/src/flextype/Foundation/Entries/Fields/ParsesField.php"
path: "/src/flextype/Foundation/Entries/Fields/ParsersField.php"
enabled: true
visibility:
path: "/src/flextype/Foundation/Entries/Fields/VisibilityField.php"
Expand Down Expand Up @@ -156,6 +156,11 @@ entries:

cache:
enabled: true
router: routes
auto_reload:
storage: false
plugins: false
flextype: false
driver: auto
drivers:
apcu: {}
Expand Down Expand Up @@ -193,6 +198,12 @@ cache:
devnull: {}
devfalse: {}
devtrue: {}
phparray:
path: '/data'
security_key: 'auto'
htaccess: true
secure_file_manipulation: false
default_ttl: 900
files:
path: '/data'
security_key: 'auto'
Expand Down Expand Up @@ -366,18 +377,22 @@ parsers:
html_input: 'allow'
allow_unsafe_links: false
max_nesting_level: INF
shortcode:
shortcodes:
media:
enabled: true
content:
enabled: true
raw:
enabled: true
registry:
enabled: true
url:
enabled: true
shortcodes:
media:
path: "/src/flextype/Support/Parsers/Shortcodes/MediaShortcode.php"
enabled: true
entries:
path: "/src/flextype/Support/Parsers/Shortcodes/EntriesShortcode.php"
enabled: true
raw:
path: "/src/flextype/Support/Parsers/Shortcodes/RawShortcode.php"
enabled: true
registry:
path: "/src/flextype/Support/Parsers/Shortcodes/RegistryShortcode.php"
enabled: true
url:
path: "/src/flextype/Support/Parsers/Shortcodes/UrlShortcode.php"
enabled: true

# CORS
#
Expand Down

0 comments on commit 91cbeb0

Please sign in to comment.