Skip to content

Commit f33248d

Browse files
committed
Updating config
1 parent e321f8d commit f33248d

File tree

3 files changed

+28
-14
lines changed

3 files changed

+28
-14
lines changed

config/bolt/config.yaml

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,28 @@ secret: '%env(APP_SECRET)%'
99

1010
# Set the caching configuration for various areas of Bolt.
1111
# The expires_after is counted in seconds.
12-
caching:
13-
related_options: 3600
14-
canonical: 60
15-
formatter: 60
16-
selectoptions: 3600
17-
content_array: 3600
18-
frontend_menu: 3600
19-
backend_menu: 3600
12+
#caching:
13+
# related_options: 3600
14+
# canonical: 1800
15+
# formatter: 180
16+
# selectoptions: 3600
17+
# content_array: 180
18+
# frontend_menu: 3600
19+
# backend_menu: 3600
20+
# files_index: 3600
21+
# list_format: true # Run `bin/console cache:list-format; bin/console bolt:update-list-format` to clear and rebuild these
2022

23+
caching:
24+
related_options: ~
25+
canonical: ~
26+
formatter: ~
27+
selectoptions: ~
28+
content_array: ~
29+
frontend_menu: ~
30+
backend_menu: ~
31+
files_index: ~
32+
list_format: false # Run `bin/console cache:list-format; bin/console bolt:update-list-format` to clear and rebuild these
33+
2134
# The theme to use.
2235
#
2336
# Dont edit the provided templates directly, because they _will_ get updated
@@ -58,6 +71,9 @@ headers:
5871
# If you want to override the canonical template, from the theme:
5972
#canonical_template: 'partials/_canonical.html.twig'
6073

74+
# If you want to add canonical link in your own way, set this to true
75+
omit_canonical_link: false
76+
6177
# By setting this to true, you will get a relative canonical path passed to the template.
6278
#relative_canonical_url: true
6379

@@ -153,20 +169,16 @@ records_per_page: 8
153169
# Default settings for thumbnails.
154170
#
155171
# quality: Quality should be between 0 (horrible, small file) and 100 (best, huge file).
156-
# fit: One of either none, crop (= crop-center), crop-top-left, crop-top, crop-top-right, crop-left, crop-right, crop-bottom-left, crop-bottom or crop-bottom-right.
157-
# allow_upscale: Determines whether small images will be enlarged to fit
158-
# the requested dimensions.
159172
# save_files: Save files in the thumbs/ folder, so subsequent requests will serve file directly. Great for performance
160173
#
161174
# Note: If you change these values, you might need to clear the cache before
162175
# they show up.
163176
thumbnails:
164177
default_thumbnail: [ 320, 240 ]
165178
default_image: [ 1000, 750 ]
179+
default_cropping: crop
166180
quality: 80
167-
cropping: crop
168181
save_files: true
169-
allow_upscale: false
170182

171183
# File permissions for read/write/execute to set on folders and files that are
172184
# created. The exact permissions you should be setting depends on the system
@@ -242,3 +254,4 @@ user_show_sort&filter: false
242254

243255
# Use Ajaxy saving ("Stay on page"), or traditional saving
244256
ajaxy_saving: false
257+

config/packages/doctrine.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ doctrine:
3434
dql:
3535
string_functions:
3636
JSON_EXTRACT: Bolt\Doctrine\Functions\JsonExtract
37+
JSON_VALUE: Bolt\Doctrine\Functions\JsonValue
3738
JSON_GET_TEXT: Scienta\DoctrineJsonFunctions\Query\AST\Functions\Postgresql\JsonGetText
3839
JSON_SEARCH: Scienta\DoctrineJsonFunctions\Query\AST\Functions\Mysql\JsonSearch
3940
JSON_UNQUOTE: Bolt\Doctrine\Functions\JsonUnquote

config/packages/prod/doctrine.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ framework:
2828
doctrine.result_cache_pool:
2929
adapter: cache.app
3030
doctrine.system_cache_pool:
31-
adapter: cache.system
31+
adapter: cache.app

0 commit comments

Comments
 (0)